diff options
author | Guillem Jover <guillem@debian.org> | 2012-05-22 20:02:12 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2012-06-30 06:35:24 +0200 |
commit | 951542fdc27e4753dde1edeb3292f136aec355e4 (patch) | |
tree | 22fef5406fd1e9760b5a1a46d74360b86e713720 /dpkg-split | |
parent | 9308127a8fcedc2325f804670c9bac4dee6516a7 (diff) | |
download | dpkg-951542fdc27e4753dde1edeb3292f136aec355e4.tar.gz |
Change all programs to accept -? instead of -h for help output
This switch frees the -h option to be used in the distant future for
other purposes, it also uses a character that does not have any other
obvious meaning for help output, and which is pretty safe to be used
blindly by the user in the same way as --help.
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dpkg-split/main.c b/dpkg-split/main.c index 2bbb53080..e3d8ca93a 100644 --- a/dpkg-split/main.c +++ b/dpkg-split/main.c @@ -76,7 +76,7 @@ usage(const struct cmdinfo *cip, const char *value) "\n")); printf(_( -" -h|--help Show this help message.\n" +" -?, --help Show this help message.\n" " --version Show the version.\n" "\n")); @@ -143,7 +143,7 @@ static const struct cmdinfo cmdinfos[]= { ACTION("listq", 'l', 0, do_queue), ACTION("discard", 'd', 0, do_discard), - { "help", 'h', 0, NULL, NULL, usage }, + { "help", '?', 0, NULL, NULL, usage }, { "version", 0, 0, NULL, NULL, printversion }, { "depotdir", 0, 1, NULL, &opt_depotdir, NULL }, { "partsize", 'S', 1, NULL, NULL, setpartsize }, |