aboutsummaryrefslogtreecommitdiff
path: root/tools/ejabberdctl.bc
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2016-04-15 15:35:57 +0200
committerBadlop <badlop@process-one.net>2016-04-15 15:35:57 +0200
commite5e4f39c016b86a9dc3936218e44c221430e786c (patch)
treeeb43f6a51145c9bf8a52b35a589e6bb50df312b2 /tools/ejabberdctl.bc
parentClean mod_carboncopy.erl from DB specific code (diff)
Remove --auth in ejabberd_ctl.erl as it's useless, still useful for mod_rest
Diffstat (limited to 'tools/ejabberdctl.bc')
-rw-r--r--tools/ejabberdctl.bc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ejabberdctl.bc b/tools/ejabberdctl.bc
index 72a5356f2..3a63e29fd 100644
--- a/tools/ejabberdctl.bc
+++ b/tools/ejabberdctl.bc
@@ -42,7 +42,7 @@ _ejabberdctl()
ejabberdctl)
# This clause matches even when calling `/sbin/ejabberdctl` thanks to the ##*/ in the case
get_help
- COMPREPLY=($(compgen -W "--node --auth ${startpars} ${startcoms} ${runningcommands}" -- $cur))
+ COMPREPLY=($(compgen -W "--node ${startpars} ${startcoms} ${runningcommands}" -- $cur))
return 0
;;
start|live)
@@ -75,7 +75,7 @@ _ejabberdctl()
prev2="${COMP_WORDS[COMP_CWORD-2]}"
get_help
if [[ "$prev2" == --* ]]; then
- COMPREPLY=($(compgen -W "--node --auth ${startpars} ${startcoms} ${runningcommands}" -- $cur))
+ COMPREPLY=($(compgen -W "--node ${startpars} ${startcoms} ${runningcommands}" -- $cur))
else
if [[ $ISRUNNING == 1 ]]; then
echo ""