diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-01-14 23:43:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:35:28 +0100 |
commit | 94e44ce69a03bf9c12a91046a11f6176c9b2d655 (patch) | |
tree | 830baceb9437e29752901729dba91d2007155bbd /helpers | |
parent | d725d86274ffc0b55e3ebd9631349592f22bae0f (diff) | |
download | vyos-live-build-94e44ce69a03bf9c12a91046a11f6176c9b2d655.tar.gz vyos-live-build-94e44ce69a03bf9c12a91046a11f6176c9b2d655.zip |
Implement -u/--usage function in lh_clean (Closes: #454553)
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_clean | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_clean b/helpers/lh_clean index 771b852c4..1e4e681a2 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 |