aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-01-24 10:52:13 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-01-24 10:52:13 +0100
commit935d30a8b8a1ef1b1ae577271b497b841bb0f162 (patch)
treeeec37230e35a9e049797b31ea80fe1765f5bae4a
parentfbc6bb06953868562c8cac805c0997cd3a8e8ef9 (diff)
parentf0450f3b3e8958fb495c6a6b5a27ff118c4f174a (diff)
downloadvis-935d30a8b8a1ef1b1ae577271b497b841bb0f162.tar.gz
vis-935d30a8b8a1ef1b1ae577271b497b841bb0f162.tar.xz
Merge branch 'add-layout-option' of https://github.com/kdsch/vis
-rw-r--r--man/vis.12
-rw-r--r--sam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/vis.1 b/man/vis.1
index 2239de7..0b77656 100644
--- a/man/vis.1
+++ b/man/vis.1
@@ -1409,7 +1409,7 @@ caching layer or
which tries the former for files smaller than 8Mb and the latter for
lager ones. WARNING: modifying a memory mapped file in-place will
cause data loss.
-.It Ic layout , Ic lay Op Do v Dc or Do h Dc
+.It Ic layout Op Do v Dc or Do h Dc
Whether to use vertical or horizontal layout.
.El
diff --git a/sam.c b/sam.c
index 0abd9e2..ca0fe5a 100644
--- a/sam.c
+++ b/sam.c
@@ -382,7 +382,7 @@ static const OptionDef options[] = {
VIS_HELP("Change 256 color palette to support 24bit colors")
},
[OPTION_LAYOUT] = {
- { "layout", "lay" },
+ { "layout" },
VIS_OPTION_TYPE_STRING,
VIS_HELP("Vertical or horizontal window layout")
},