Skip to content

Commit

Permalink
Updated help output and man page for sshare.
Browse files Browse the repository at this point in the history
Fixed typo in sshare --help output and updated man page
with -o flag and updated -h to be -n.

Bug 6570
  • Loading branch information
robertsbp authored and dannyauble committed Feb 26, 2019
1 parent 2ac76e3 commit 0a891c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions doc/man/man1/sshare.1
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ Display information for specific accounts (comma separated list).
\fB\-a\fR, \fB\-\-all\fR
Display information for all users.

.TP
\fB\-h\fR, \fB\-\-noheader\fR
No header will be added to the beginning of the output.

.TP
\fB\-l\fR, \fB\-\-long\fR
Long listing - includes the normalized usage information.
Expand All @@ -43,9 +39,18 @@ Note that the SlurmDBD must be up for this option to work properly.

.TP
\fB\-m\fR, \fB\-\-partition\fR
Is there are association based partition in the system
If there are association based partitions in the system
print their names.

.TP
\fB\-n\fR, \fB\-\-noheader\fR
No header will be added to the beginning of the output.

.TP
\fB\-o\fR, \fB\-\-format=\fR
Comma separated list of fields (use
"--helpformat" for a list of available fields).

.TP
\fB\-p\fR, \fB\-\-parsable\fR
Output will be '|' delimited with a '|' at the end.
Expand Down
4 changes: 2 additions & 2 deletions src/sshare/sshare.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ Usage: sshare [OPTION] \n\
-M or --cluster=names clusters to issue commands to. \n\
NOTE: SlurmDBD must be up. \n\
-n or --noheader omit header from output \n\
-o or --format= Comma separated list of fields. (use \n\
(\"--helpformat\" for a list of available fields).\n\
-o or --format= Comma separated list of fields (use \n\
\"--helpformat\" for a list of available fields).\n\
-p or --parsable '|' delimited output with a trailing '|' \n\
-P or --parsable2 '|' delimited output without a trailing '|' \n\
-u or --users= display specific users (comma separated list) \n\
Expand Down

0 comments on commit 0a891c4

Please sign in to comment.