浏览代码

Referring to the new changes in the manpage.

master
phillbush 5 年前
父节点
当前提交
c0cff00dc8
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. +6
    -0
      xmenu.1
  2. +1
    -1
      xmenu.c

+ 6
- 0
xmenu.1 查看文件

@@ -4,6 +4,7 @@ xmenu \- menu utility for X
.SH SYNOPSIS
.B xmenu
.RB [ \-w ]
.RI [ title... ]
.SH DESCRIPTION
.B xmenu
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.
.IP
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
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
.B xmenu
is controlled by the mouse,


+ 1
- 1
xmenu.c 查看文件

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

||||||
x
 
000:0
正在加载...
取消
保存