Fix: help msg missing auth subcommand #15

Merged
MOIS3Y merged 1 commits from MOIS3Y/isp-maintenance:gogo into main 2024-07-22 23:48:35 +08:00

View File

@ -72,11 +72,10 @@ help() {
printf "${script} --vm 0.0.0.0 --ssh | only ssh access \n" printf "${script} --vm 0.0.0.0 --ssh | only ssh access \n"
printf "${script} --vm 0.0.0.0 --tty | use mgrctl interactive \n" printf "${script} --vm 0.0.0.0 --tty | use mgrctl interactive \n"
printf " \n" printf " \n"
printf "${script} --dci 0.0.0.0 --mgrctl user access --id 3 --count 5 \n" printf "${script} --dci 0.0.0.0 --mgrctl auth user access --id 3 --count 5 \n"
printf "${script} --dci 0.0.0.0 --mgrctl user ls --admins \n" printf "${script} --dci 0.0.0.0 --mgrctl auth user ls --admins \n"
printf "${script} --dci 0.0.0.0 --mgrctl user --help \n" printf "${script} --vm 0.0.0.0 --port 22122 --mgrctl auth user ls --admins \n"
printf "${script} --vm 0.0.0.0 --port 22122 --mgrctl user ls --admins \n" printf "${script} --vm 0.0.0.0 --tty --mgrctl auth user ls --admins \n"
printf "${script} --vm 0.0.0.0 --tty --mgrctl user ls --admins \n"
printf "${script} --dns ns1.example.com --web-port 1501 \n" printf "${script} --dns ns1.example.com --web-port 1501 \n"
printf "${script} --dns ns1.example.com --port 22122 --web-port 1501 \n" printf "${script} --dns ns1.example.com --port 22122 --web-port 1501 \n"
printf "${script} --bill my.example.com --port 22 --web-port 1501 \n" printf "${script} --bill my.example.com --port 22 --web-port 1501 \n"
@ -88,7 +87,7 @@ help() {
printf " --web-port | -wp web port, default 443 \n" printf " --web-port | -wp web port, default 443 \n"
printf " --go/--go3 go version, default go3 \n" printf " --go/--go3 go version, default go3 \n"
printf " --ssh open only ssh session \n" printf " --ssh open only ssh session \n"
printf " --tty for vm6/dci6 echo cmd for run container\n" printf " --tty for vm6/dci6 echo cmd for run container \n"
printf " --mgrctl [args] for vm6/dci6 customize access params \n" printf " --mgrctl [args] for vm6/dci6 customize access params \n"
printf " \n" printf " \n"
printf " --init | -i generate configuration \n" printf " --init | -i generate configuration \n"