Ajout : cas d'utilisation dans mcserv
This commit is contained in:
parent
6489a11307
commit
32069470b7
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -x
|
||||
|
||||
shopt -s expand_aliases
|
||||
alias mcscreen='sudo -u minecraft screen'
|
||||
|
@ -14,6 +14,7 @@ public_usage() {
|
|||
${name}: utilisation
|
||||
${name} start|status|stop|watch NOM_SERVEUR
|
||||
${name} list
|
||||
${name} usage
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -52,7 +53,7 @@ public_list() {
|
|||
verb="$1"
|
||||
shift
|
||||
case "$verb" in
|
||||
start)
|
||||
start|status|stop|watch|list|usage)
|
||||
"public_${verb}" "$@"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue