summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-09-20 19:09:37 +0200
committerpgen <p.gen.progs@gmail.com>2023-09-20 19:09:37 +0200
commit55aebed2e804a4c89be0c6c4fa80361fe0442145 (patch)
tree019f69d6661c1be9f66f99747ad0958d836c8023
parentdeb32974e55ac7632ee0de547b646d3a01b68747 (diff)
Fix a misnamed option and a typo in the manual
-rw-r--r--smenu.16
-rw-r--r--smenu.c2
-rw-r--r--usage.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/smenu.1 b/smenu.1
index 697c067..d1f9d82 100644
--- a/smenu.1
+++ b/smenu.1
@@ -62,7 +62,7 @@ and outputs the selection to stdout.
[\fB-L\fP|\fB-ls\fP|\fB-ld\fP|\fB-line-delimiters\fP|\
\fB-line_separators\fP \
\fIbytes\fP]
- [\fB-q\fP|\fB-no_bar\fP|\fB-no-scroll_bar\fP]
+ [\fB-q\fP|\fB-no_bar\fP|\fB-no_scroll_bar\fP]
[\fB-S\fP|\fB-subst\fP... \fI/regex/repl/opts\fP]
[\fB-I\fP|\fB-si\fP|\fB-subst_included\fP... \fI/regex/repl/opts\fP]
[\fB-E\fP|\fB-se\fP|\fB-subst_excluded\fP... \fI/regex/repl/opts\fP]
@@ -1164,7 +1164,7 @@ and \fB-P\fP|\fB-pm\fP|\fB-pin\fP|\fB-pin_mode\fP options.
An untagged word under the cursor will be automatically tagged when
\fBENTER\fP is pressed.
-.IP "\fB-0\fP|\fB-noat\fP|\fB-no-auto_tag\fP"
+.IP "\fB-0\fP|\fB-noat\fP|\fB-no_auto_tag\fP"
(Allowed in the "Tagging" context.)
This option modifies the default behavior of the
@@ -1851,7 +1851,7 @@ also used.
\fI\\u\fP and \fI\\U\fP sequences can also be used here.
.TP
-.IP "\fB-q\fP|\fB-no_bar\fP|\fB-no-scroll_bar\fP"
+.IP "\fB-q\fP|\fB-no_bar\fP|\fB-no_scroll_bar\fP"
(Allowed in all contexts.)
Prevents the display of the scroll bar.
diff --git a/smenu.c b/smenu.c
index be3da5d..866ecbb 100644
--- a/smenu.c
+++ b/smenu.c
@@ -8859,7 +8859,7 @@ main(int argc, char *argv[])
ctxopt_add_opt_settings(parameters, "zapped_glyphs", "-z -zap -zap-glyphs");
ctxopt_add_opt_settings(parameters,
"no_scroll_bar",
- "-q -no_bar -no-scroll_bar");
+ "-q -no_bar -no_scroll_bar");
ctxopt_add_opt_settings(parameters, "early_subst_all", "-ES -early_subst");
ctxopt_add_opt_settings(parameters, "post_subst_all", "-S -subst");
ctxopt_add_opt_settings(parameters,
diff --git a/usage.c b/usage.c
index cfcd2c5..12c7e59 100644
--- a/usage.c
+++ b/usage.c
@@ -65,7 +65,7 @@ common_help(void)
printf(" defines word separators in the input stream.\n");
printf("-L|-ls|-ld|-line-delimiters|-line_separators\n");
printf(" defines line separators in the input stream.\n");
- printf("-q|-no_bar|-no-scroll_bar\n");
+ printf("-q|-no_bar|-no_scroll_bar\n");
printf(" prevents the scroll bar from being displayed.\n");
printf("-S|-subst\n");
printf(" defines the post-substitution action to apply to all words.\n");