diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-10 01:03:04 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-11 15:43:37 -0400 |
commit | 834db9d400be1795426eb88cf25c9e817141d326 (patch) | |
tree | edc61f60497720d3eb9a312403eb4e5c8ecf50e9 /src/pkgbuild-check-nonfree | |
parent | 61882e4d79a02cb5d32a9b558ee3a0c15f62d01a (diff) |
internationalize pkgbuild-check-*
Diffstat (limited to 'src/pkgbuild-check-nonfree')
-rwxr-xr-x | src/pkgbuild-check-nonfree | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/pkgbuild-check-nonfree b/src/pkgbuild-check-nonfree index b371540..7c8ca9f 100755 --- a/src/pkgbuild-check-nonfree +++ b/src/pkgbuild-check-nonfree @@ -70,21 +70,20 @@ check_deps() ( return $ret ) -cmd=${0##*/} usage() { - echo "Usage: $cmd [OPTIONS] [PKGBUILD1 PKGBUILD2 ...]" - echo '' - echo "If no PKGBUILD is specified, \`./PKGBUILD' is implied" - echo '' - echo "Exit status:" - echo " 0: Everything OK, no freedom issues" - echo " 1: Ran with error" - echo " 15: Depends on non-free packages" - echo '' - echo "Options:" - echo ' -c Use the cached blacklist, do not try downloading.' - echo ' -f Allow running as root user' - echo ' -h Show this message' + print "Usage: %s [OPTIONS] [PKGBUILD1 PKGBUILD2 ...]" "${0##*/}" + echo + prose 'If no PKGBUILD is specified, `./PKGBUILD` is implied.' + echo + print "Exit status:" + print " 0: Everything OK, no freedom issues" + print " 1: Ran with error" + print " 15: Depends on non-free packages" + echo + print "Options:" + flag '-c' 'Use the cached blacklist, do not try downloading.' + flag '-f' 'Allow running as root user' + flag '-h' 'Show this message' } main() { |