summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Aulery <lkppo@free.fr>2013-07-04 00:53:43 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-06 09:22:36 -0700
commit9f4bee64da58ed95923ceee4abfe56d5125974f6 (patch)
tree404d79576ed279bf630d32f738b75941dd935add
parent9a7429ed7734531ca313d8c1f724bcb07c33ff54 (diff)
Improve help messages & man page
Signed-off-by: Stéphane Aulery <lkppo@free.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--man/xsm.man6
-rw-r--r--xsm.c2
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);
}