summaryrefslogtreecommitdiff
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
parent94e44ce69a03bf9c12a91046a11f6176c9b2d655 (diff)
downloadvyos-live-build-6a9d30b2ae34cd1ebe9db8079597e6cb8028737f.tar.gz
vyos-live-build-6a9d30b2ae34cd1ebe9db8079597e6cb8028737f.zip
Implement -v/--version and -h/--help in lh_clean.
-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