diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-02 12:15:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-02 12:15:09 -0400 |
commit | 20668f6626825b752dcb7b11ae3c90372cc20fb7 (patch) | |
tree | eed2012eb20074c809423447cffeaffaffb7ba22 | |
parent | 394ce91be87faae95d66baaf4cdb486970df719f (diff) |
Support -h and --help. Closes: #654188
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | etckeeper | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 9e262cc..e54b32a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ etckeeper (0.60) UNRELEASED; urgency=low * Updated Dutch translation of debconf templates. Closes: #654244 + * Support -h and --help. Closes: #654188 -- Joey Hess <joeyh@debian.org> Mon, 02 Jan 2012 11:40:20 -0400 @@ -56,6 +56,9 @@ fi if [ -z "$1" ]; then usage +elif [ "x$1" = "x-h" ] || [ "x$1" = "x--help" ]; then + man etceeper || echo "Usage: etckeeper command [-d directory]" >&2 + exit 0 fi command="$1" shift 1 |