aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder6
-rwxr-xr-xpbuilder-checkparams1
-rw-r--r--pbuilder-modules1
3 files changed, 7 insertions, 1 deletions
diff --git a/pbuilder b/pbuilder
index 63cc7a9..71d6962 100755
--- a/pbuilder
+++ b/pbuilder
@@ -158,9 +158,15 @@ File extracted to: $BUILDPLACE
shift
"$0" execute "$@" /usr/lib/pbuilder/pdebuild-internal
;;
+ --help|help)
+ . /usr/lib/pbuilder/pbuilder-modules
+ showhelp
+ exit 0
+ ;;
*)
. /usr/lib/pbuilder/pbuilder-modules
showhelp
+ exit 1
;;
esac
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 688da07..a9cc3fb 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -189,6 +189,7 @@ while [ -n "$1" ]; do
;;
--help)
showhelp
+ exit 0
;;
--override-config)
OVERRIDE_APTLINES="yes"
diff --git a/pbuilder-modules b/pbuilder-modules
index 0e7a77f..d842687 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -80,7 +80,6 @@ pdebuild-specific pbuilder options:
For the full documentation see the manual pages pbuilder(8) and pbuilderrc(5).
EOF
- exit 1
}
# Log a message