summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.115
-rw-r--r--dmenu.c10
2 files changed, 14 insertions, 11 deletions
diff --git a/dmenu.1 b/dmenu.1
index ec120c8..79664cb 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -3,7 +3,7 @@
dmenu \- dynamic menu
.SH SYNOPSIS
.B dmenu
-.RB [ \-bfirvP ]
+.RB [ \-bcfirvPF ]
.RB [ \-l
.IR lines ]
.RB [ \-h
@@ -64,11 +64,17 @@ is faster, but will lock up X until stdin reaches end\-of\-file.
.B \-i
dmenu matches menu items case insensitively.
.TP
+.B \-r
+dmenu will reject any input which would result in no matching option left.
+.TP
+.B \-v
+prints version information to stdout, then exits.
+.TP
.B \-P
dmenu will not directly display the keyboard input, but instead replace it with dots. All data from stdin will be ignored.
.TP
-.B \-r
-dmenu will reject any input which would result in no matching option left.
+.B \-F
+dmenu will/will not use fuzzy matching (the opposite of the default, defined in config.def.h)
.TP
.BI \-l " lines"
dmenu lists items vertically, with the given number of lines.
@@ -113,9 +119,6 @@ defines the selected highlight background color.
.BI \-shf " color"
defines the selected highlight foreground color.
.TP
-.B \-v
-prints version information to stdout, then exits.
-.TP
.BI \-w " windowid"
embed into windowid.
.TP
diff --git a/dmenu.c b/dmenu.c
index 33c07e5..e2018f3 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -1034,11 +1034,11 @@ setup(void)
static void
usage(void)
-{
- die("usage: dmenu [-bfirvP] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
- " [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]\n"
- " [-nhb color] [-nhf color] [-shb color] [-shf color]\n"
- " [-d separator] [-D separator] [-h height]");
+{ // " "
+ die("usage: dmenu [-bcfirvPF] [-l lines] [-h height] [-m monitor] [-p prompt]\n"
+ " [-fn font] [-nb color] [-nf color] [-sb color] [-sf color]\n"
+ " [-nhb color] [-nhf color] [-shb color] [-shf color] [-w windowid]\n"
+ " [-d separator] [-D separator]");
}
void