Referring to the new changes in the manpage.

This commit is contained in:
phillbush 2020-05-19 05:56:06 -03:00
parent d2435fcd5f
commit c0cff00dc8
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,7 @@ xmenu \- menu utility for X
.SH SYNOPSIS .SH SYNOPSIS
.B xmenu .B xmenu
.RB [ \-w ] .RB [ \-w ]
.RI [ title... ]
.SH DESCRIPTION .SH DESCRIPTION
.B xmenu .B xmenu
is a menu for X, is a menu for X,
@ -35,8 +36,13 @@ An item without label is considered a separator and is drawn as a thin line in t
separating the item above from the item below. separating the item above from the item below.
.IP .IP
The command is the string that will be output after selecting the item. The command is the string that will be output after selecting the item.
If the item spawns a submenu, the command is the title of the menu.
.IP .IP
The newline terminates the item specification. The newline terminates the item specification.
.PP
If the argument
.I title
is given, the title of the menu window is set to it.
.SH USAGE .SH USAGE
.B xmenu .B xmenu
is controlled by the mouse, is controlled by the mouse,

View File

@ -827,6 +827,6 @@ cleanup(void)
static void static void
usage(void) usage(void)
{ {
(void)fprintf(stderr, "usage: xmenu [-w]\n"); (void)fprintf(stderr, "usage: xmenu [-w] title...\n");
exit(1); exit(1);
} }