summaryrefslogtreecommitdiff
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
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>
-rw-r--r--debian/changelog3
-rwxr-xr-xhelpers/lh_clean8
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index feafb221c..074d7be8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,8 @@ live-helper (1.0~a38-1) UNRELEASED; urgency=medium
[Chris Lamb]
- * Implement -u/--usage function in lh_clean (Closes: #454553)
+ * Implement -u/--usage, -v/--version and -h/--help options in lh_clean
+ (Closes: #454553)
-- Daniel Baumann <daniel@debian.org> Mon, 14 Jan 2008 23:32:58 +0000
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