index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-12-02 09:49:30 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-05 09:22:12 -0600 |
commit | 61ce2ca1bbf4f8042c77e50a37297003bdebd01d (patch) | |
tree | 4f9e9b1b7b10229c13efb91a3d0f23b93a6f179d /contrib/paclist.in | |
parent | 5490cd6eb22752d2eac5410152d239c50224dbc1 (diff) |
-rwxr-xr-x | contrib/paclist.in | 2 |
diff --git a/contrib/paclist.in b/contrib/paclist.in index 84144f78..06b06f2c 100755 --- a/contrib/paclist.in +++ b/contrib/paclist.in @@ -27,7 +27,7 @@ if ! type gettext &>/dev/null; then } fi -if [[ -z $1 ]]; then +if [[ -z $1 || $1 = -@(h|-help) ]]; then printf '%s - List all packages installed from a given repo\n' "${0##*/}" printf 'Usage: %s <repo>\n' "${0##*/}" printf 'Example: %s testing\n' "${0##*/}" |