[PATCH xsm] Improve help messages.
Stéphane Aulery
lkppo at free.fr
Wed Jul 3 15:53:43 PDT 2013
Signed-off-by: Stéphane Aulery <lkppo at free.fr>
---
man/xsm.man | 6 +++---
xsm.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/man/xsm.man b/man/xsm.man
index 8549ab2..5da459a 100644
--- a/man/xsm.man
+++ b/man/xsm.man
@@ -31,7 +31,7 @@
xsm \- X Session Manager
.SH SYNOPSIS
.B xsm
-[-display display] [-session sessionName] [-verbose]
+[-display \fIdisplay\fP] [-session \fIsessionName\fP] [-verbose]
.SH DESCRIPTION
.PP
\fIxsm\fP is a session manager. A session is a group of applications, each
@@ -113,8 +113,8 @@ When \fIxsm\fP starts up, it first checks to see if the user previously
saved any sessions. If no saved sessions exist, \fIxsm\fP starts up a set
of default applications (as described above in the section titled
\fIDefault Startup Applications\fP). If at least one session exists, a
-session menu is presented. The \fB[-session sessionName]\fR option forces the
-specified session to be loaded, bypassing the session menu.
+session menu is presented. The \fB-session\fR option forces the
+specified \fIsessionName\fP session to be loaded, bypassing the session menu.
.SS The session menu
The session menu presents the user with a list of sessions to choose from.
The user can change the currently selected session with the mouse, or by
diff --git a/xsm.c b/xsm.c
index 18e54fc..2a30717 100644
--- a/xsm.c
+++ b/xsm.c
@@ -192,7 +192,7 @@ main(int argc, char *argv[])
usage:
fprintf (stderr,
- "usage: xsm [-display display] [-session session_name] [-verbose]\n");
+ "Usage: xsm [-display display] [-session sessionName] [-verbose]\n");
exit (1);
}
--
1.7.10.4
More information about the xorg-devel
mailing list