summaryrefslogtreecommitdiffstats
path: root/completions/list_admins
diff options
context:
space:
mode:
Diffstat (limited to 'completions/list_admins')
-rw-r--r--completions/list_admins2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/list_admins b/completions/list_admins
index 98452eb..e9de58e 100644
--- a/completions/list_admins
+++ b/completions/list_admins
@@ -10,7 +10,7 @@ _comp_cmd_list_admins()
else
# Prefer `list_lists` in the same dir as command
local pathcmd
- pathcmd=$(type -P "$1") && local PATH=${pathcmd%/*}:$PATH
+ pathcmd=$(type -P -- "$1") && local PATH=${pathcmd%/*}:$PATH
_comp_compgen -x list_lists mailman_lists
fi