summaryrefslogtreecommitdiff
path: root/localcowdebuild
diff options
context:
space:
mode:
Diffstat (limited to 'localcowdebuild')
-rwxr-xr-xlocalcowdebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/localcowdebuild b/localcowdebuild
index 84ae3cd..e1f18fe 100755
--- a/localcowdebuild
+++ b/localcowdebuild
@@ -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