mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Remove --auth in ejabberd_ctl.erl as it's useless, still useful for mod_rest
This commit is contained in:
parent
222572bd56
commit
e5e4f39c01
2 changed files with 3 additions and 4 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue