diff options
author | Jason St. John <jstjohn@purdue.edu> | 2013-09-03 21:20:50 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-09-04 01:51:20 +0200 |
commit | a86015f73fdda878287a2ad21011594862bf506a (patch) | |
tree | 61a580ebc898312361abe79f5bfa99441698ddec /lib/libalpm/trans.c | |
parent | 4245c6b222703dda7bd6000e180c777f480e4420 (diff) | |
download | pacman-a86015f73fdda878287a2ad21011594862bf506a.tar.gz pacman-a86015f73fdda878287a2ad21011594862bf506a.tar.xz |
Improve --help switch output for pacman utils
Unify the formatting of the --help switch for pacman utils, if it exists.
All of the pacman utils will now output help text using the following
format:
util-name (pacman) v<pacman version>
one line description of util's purpose
Usage: util-name [options]
-b, --bar whatever --bar does
-f, --foo whatever --foo does
-h, --help display this help message
The --help switch does not exist for a couple of the utils, so the
help/usage text for those will be displayed when the util is run
with no arguments.
Reported-by: Karol Błażewicz <karol.blazewicz at gmail.com>
Signed-off-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
0 files changed, 0 insertions, 0 deletions