Implement -v/--version and -h/--help in lh_clean.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-01-15 00:05:51 +00:00
parent c833147b8d
commit c837a9ebb4
2 changed files with 10 additions and 1 deletions

3
debian/changelog vendored
View File

@ -2,7 +2,8 @@ live-helper (1.0~a38-1) UNRELEASED; urgency=medium
[Chris Lamb] [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 -- Daniel Baumann <daniel@debian.org> Mon, 14 Jan 2008 23:32:58 +0000

View File

@ -117,10 +117,18 @@ do
rm -f .stage/source* rm -f .stage/source*
;; ;;
-h|--help)
Help
;;
-u|--usage) -u|--usage)
Usage Usage
;; ;;
-v|--version)
Version
;;
*) *)
Usage Usage
exit 1 exit 1