diff options
Diffstat (limited to 'localpdebuild')
-rwxr-xr-x | localpdebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/localpdebuild b/localpdebuild index 733cbb4..f62bf0f 100755 --- a/localpdebuild +++ b/localpdebuild @@ -2,10 +2,14 @@ set -e +PRG=$(basename "$0") + function showhelp() { - echo "Usage: $(basename $0) POOL [debbuildopts] [-- pbuilderopts]" - echo "" - echo "Example: $(basename $0) sarge_with_hacks -B" + cat <<EOF +Usage: $PRG POOL [debbuildopts] [-- pbuilderopts] + +Example: $PRG sarge_with_hacks -B +EOF } if [ $# -eq 0 ]; then |