summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-01-15 00:05:51 +0000
committerChris Lamb <chris@chris-lamb.co.uk>2008-01-15 00:05:51 +0000
commitc837a9ebb44f5dd45cb5e7ce207673995b447a66 (patch)
treefed5f949a337ce122ad0fe1c9706dbecd8d1539e /helpers
parentc833147b8d979c45042921d7495a8b8465f88606 (diff)
downloadvyos-live-build-c837a9ebb44f5dd45cb5e7ce207673995b447a66.tar.gz
vyos-live-build-c837a9ebb44f5dd45cb5e7ce207673995b447a66.zip
Implement -v/--version and -h/--help in lh_clean.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
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 1e4e681a2..f835800ab 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