apkgrel: cosmetic fixes for help message

This commit is contained in:
Natanael Copa 2013-10-25 08:01:22 +00:00
parent b53d4ad7de
commit f7e6d79ec3

View File

@ -75,11 +75,13 @@ do_nothing() {
usage() { usage() {
cat >&2 <<__EOF__ cat >&2 <<__EOF__
$program $program_version - display or bump pkgrel in APKBUILDs $program $program_version - display or bump pkgrel in APKBUILDs
Usage: $program [-z|--zero] [-a|--add] [-g|--clean-git] [-s|--set NUM] [-t|--test] [-f|--force] DIR or APKBUILD... Usage: $program [-z|--zero] [-a|--add] [-g|--clean-git] [-s|--set NUM]
[-t|--test] [-f|--force] DIR or APKBUILD...
Options: Options:
-z, --zero Set pkgrel to 0 -z, --zero Set pkgrel to 0
-a, --add Add 1 to current pkgrel -a, --add Add 1 to current pkgrel
-g, --clean-git Only operate on APKBUILDs with clean git status (implies --add) -g, --clean-git Only operate on APKBUILDs with clean git status (implies
--add)
-s, --set NUM Set pkgrel to NUM -s, --set NUM Set pkgrel to NUM
-t, --test Only verify that files have a valid pkgrel -t, --test Only verify that files have a valid pkgrel
-f, --force Operate on files without a valid pkgrel -f, --force Operate on files without a valid pkgrel