Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-deb.sh: Add help, handle unknown arguments
``` RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh --foo --bar -mokey 7 --skip-binary --hello -- Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary] [{--sign-key|-l} <GPG KEY ID>] [-- <dpkg-buildpackage options>] Unrecognised argument --foo RC=1 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh -h Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary] [{--sign-key|-l} <GPG KEY ID>] [-- <dpkg-buildpackage options>] RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh -? Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary] [{--sign-key|-l} <GPG KEY ID>] [-- <dpkg-buildpackage options>] RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh --help Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary] [{--sign-key|-l} <GPG KEY ID>] [-- <dpkg-buildpackage options>] ```
- Loading branch information