diff options
author | Ruediger Meier | 2017-06-25 22:01:12 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-27 12:29:37 +0200 |
commit | 551b9cd3f9ca3a84c2a8a4aec0c22bb82cbf8abf (patch) | |
tree | 2df83f99f267a615777cb01235d1d84b2772c2f8 /include/c.h | |
parent | login: add --help text (diff) | |
download | kernel-qcow2-util-linux-551b9cd3f9ca3a84c2a8a4aec0c22bb82cbf8abf.tar.gz kernel-qcow2-util-linux-551b9cd3f9ca3a84c2a8a4aec0c22bb82cbf8abf.tar.xz kernel-qcow2-util-linux-551b9cd3f9ca3a84c2a8a4aec0c22bb82cbf8abf.zip |
misc: update --help content again
We change
-h, --help display this help and exit
-V, --version output version information and exit
to
-h, --help display this help
-V, --version print version
Some thoughts about this:
* use "display" for --help because it matches better if we
would add pager support (like git --help)
* "print" for --version to be different
* "this" for --help is important to make clear that running
--help would not give you any better information than the
one you see already
* remove "information and exit" because it's bloat for the
short-help, everybody knows what it does if it exists
In the manpages we should use the old, longer but more correct
descriptions, inclusive a reminder if --help/--version are only
working when used as the only option. Note the term "version
information" indicates that we don't only print a single version
number.
CC: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'include/c.h')
-rw-r--r-- | include/c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/c.h b/include/c.h index 94ebf7e7d..fc766e069 100644 --- a/include/c.h +++ b/include/c.h @@ -316,8 +316,8 @@ static inline int xusleep(useconds_t usec) #define USAGE_COLUMNS _("\nAvailable output columns:\n") #define USAGE_SEPARATOR "\n" -#define USAGE_OPTSTR_HELP _("display this help and exit") -#define USAGE_OPTSTR_VERSION _("output version information and exit") +#define USAGE_OPTSTR_HELP _("display this help") +#define USAGE_OPTSTR_VERSION _("print version") #define print_usage_help_options(marg_dsc) \ printf( \ |