From 94e44ce69a03bf9c12a91046a11f6176c9b2d655 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Mon, 14 Jan 2008 23:43:51 +0000
Subject: Implement -u/--usage function in lh_clean (Closes: #454553)
---
debian/changelog | 8 ++++++++
helpers/lh_clean | 7 ++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 11fed74..feafb22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+live-helper (1.0~a38-1) UNRELEASED; urgency=medium
+
+ [Chris Lamb]
+
+ * Implement -u/--usage function in lh_clean (Closes: #454553)
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 14 Jan 2008 23:32:58 +0000
+
live-helper (1.0~a37-2) unstable; urgency=medium
* Disabling global arguments in lh_clean (Closes: #451960).
diff --git a/helpers/lh_clean b/helpers/lh_clean
index 771b852..1e4e681 100755
--- a/helpers/lh_clean
+++ b/helpers/lh_clean
@@ -117,8 +117,13 @@ do
rm -f .stage/source*
;;
+ -u|--usage)
+ Usage
+ ;;
+
*)
- "${0}" --usage
+ Usage
+ exit 1
;;
esac
done
--
cgit v1.0