summaryrefslogtreecommitdiffstats
path: root/contrib/paclist.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/paclist.in')
-rwxr-xr-xcontrib/paclist.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/paclist.in b/contrib/paclist.in
index c766c2c5..8623049f 100755
--- a/contrib/paclist.in
+++ b/contrib/paclist.in
@@ -29,7 +29,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' "$myname"
printf 'Usage: %s <repo>\n' "$myname"
printf 'Example: %s testing\n' "$myname"