]> git.armaanb.net Git - dmenu.git/commitdiff
dmenu.1: group single options
authorQuentin Rameau <quinq@fifth.space>
Sat, 8 Oct 2016 12:42:53 +0000 (14:42 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 14 Oct 2016 13:26:34 +0000 (15:26 +0200)
dmenu.1
dmenu.c

diff --git a/dmenu.1 b/dmenu.1
index f0e3bd742425bc3f85d63a16070aeccf5f6b77a5..8bbd79d42a5e3395bc255e9ce27be21dcc6f358b 100644 (file)
--- a/dmenu.1
+++ b/dmenu.1
@@ -3,9 +3,7 @@
 dmenu \- dynamic menu
 .SH SYNOPSIS
 .B dmenu
-.RB [ \-b ]
-.RB [ \-f ]
-.RB [ \-i ]
+.RB [ \-bfiv ]
 .RB [ \-l
 .IR lines ]
 .RB [ \-m
@@ -22,7 +20,6 @@ dmenu \- dynamic menu
 .IR color ]
 .RB [ \-sf
 .IR color ]
-.RB [ \-v ]
 .P
 .BR dmenu_run " ..."
 .SH DESCRIPTION
diff --git a/dmenu.c b/dmenu.c
index 3b05752f91953dc1504b08de1d54b74e896a6b27..ff7436936315e4cc6c00942fc74179b5e797254b 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -600,8 +600,8 @@ setup(void)
 static void
 usage(void)
 {
-       fputs("usage: dmenu [-b] [-f] [-i] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
-             "             [-nb color] [-nf color] [-sb color] [-sf color] [-v]\n", stderr);
+       fputs("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
+             "             [-nb color] [-nf color] [-sb color] [-sf color]\n", stderr);
        exit(1);
 }