summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-01-15 00:05:51 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:35:31 +0100
commit6a9d30b2ae34cd1ebe9db8079597e6cb8028737f (patch)
treefed5f949a337ce122ad0fe1c9706dbecd8d1539e /helpers
parent94e44ce69a03bf9c12a91046a11f6176c9b2d655 (diff)
downloadlive-build-6a9d30b2ae34cd1ebe9db8079597e6cb8028737f.zip
live-build-6a9d30b2ae34cd1ebe9db8079597e6cb8028737f.tar.gz
Implement -v/--version and -h/--help in lh_clean.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_clean8
1 files changed, 8 insertions, 0 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 1e4e681..f835800 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -117,10 +117,18 @@ do
rm -f .stage/source*
;;
+ -h|--help)
+ Help
+ ;;
+
-u|--usage)
Usage
;;
+ -v|--version)
+ Version
+ ;;
+
*)
Usage
exit 1