summaryrefslogtreecommitdiff
path: root/scripts/dpkg-maintscript-helper.sh
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-05-22 20:02:12 +0200
committerGuillem Jover <guillem@debian.org>2012-06-30 06:35:24 +0200
commit951542fdc27e4753dde1edeb3292f136aec355e4 (patch)
tree22fef5406fd1e9760b5a1a46d74360b86e713720 /scripts/dpkg-maintscript-helper.sh
parent9308127a8fcedc2325f804670c9bac4dee6516a7 (diff)
downloaddpkg-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 'scripts/dpkg-maintscript-helper.sh')
-rwxr-xr-xscripts/dpkg-maintscript-helper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dpkg-maintscript-helper.sh b/scripts/dpkg-maintscript-helper.sh
index 04dd2b91c..48793b820 100755
--- a/scripts/dpkg-maintscript-helper.sh
+++ b/scripts/dpkg-maintscript-helper.sh
@@ -1,8 +1,8 @@
#!/bin/sh
#
+# Copyright © 2007,2011-2012 Guillem Jover <guillem@debian.org>
# Copyright © 2010 Raphaël Hertzog <hertzog@debian.org>
# Copyright © 2008 Joey Hess <joeyh@debian.org>
-# Copyright © 2007 Guillem Jover (modifications on wiki.debian.org)
# Copyright © 2005 Scott James Remnant (original implementation on www.dpkg.org)
#
# This program is free software; you can redistribute it and/or modify
@@ -289,7 +289,7 @@ rm_conffile)
mv_conffile)
mv_conffile "$@"
;;
---help|help|-?|-h)
+--help|help|-?)
usage
;;
--version)