summaryrefslogtreecommitdiffstats
path: root/completions/list_members
diff options
context:
space:
mode:
Diffstat (limited to 'completions/list_members')
-rw-r--r--completions/list_members2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/list_members b/completions/list_members
index a15a2cc..52d9398 100644
--- a/completions/list_members
+++ b/completions/list_members
@@ -28,7 +28,7 @@ _comp_cmd_list_members()
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