[X2Go-Commits] [nx-libs] 34/53: Correct manpages: --help -> -help

git-admin at x2go.org git-admin at x2go.org
Tue Sep 22 15:10:46 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 12acd909b7e36d0ee7cc38cc4a3106e3bcafe83a
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Sun Jun 28 01:33:49 2015 -0400

    Correct manpages: --help -> -help
    
    xorg-server does not follow the convention of using 2 dashes.
    
    Note that --help does produce the help output. However, it
    produces this additional output after it:
    
    Error: Aborting session with 'Unrecognized option: --help'.
    Session: Aborting session at 'Sun Jun 28 01:35:35 2015'.
    Session: Session aborted at 'Sun Jun 28 01:35:35 2015'.
    
    It also causes a return code of 1 rather than 0.
    
    Therefore, we should instruct users to call -help instead.
---
 nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1   |    2 +-
 nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1 b/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
index 1986323..f923938 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
+++ b/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
@@ -23,7 +23,7 @@ NoMachine's \fBnxclient\fR or the community projects \fBqtnx\fR and \fBremmina\f
 
 .SH OPTIONS
 .TP
-.B \--help
+.B \-help
 Lists all others options that are not listed here.
 
 .SH FURTHER READINGS
diff --git a/nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1 b/nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1
index b9e8dda..a788555 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1
+++ b/nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1
@@ -23,7 +23,7 @@ Python X2Go API).
 
 .SH OPTIONS
 .TP
-.B \--help
+.B \-help
 Lists all others options that are not listed here.
 
 .SH FURTHER READINGS

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list