mirror of
https://github.com/fumiama/go-nd-portal.git
synced 2026-06-25 05:20:10 +08:00
feat: support sh campus login (#6)
- added login type: sh-edu, sh-dx, sh-cmcc
This commit is contained in:
@@ -35,7 +35,7 @@ func Main() {
|
||||
w := flag.Bool("w", false, "only display warn-or-higher-level log")
|
||||
d := flag.Bool("d", false, "display debug-level log")
|
||||
s := flag.String("s", "", "login host, auto select when empty")
|
||||
t := flag.String("t", "qsh-edu", "login type [qsh-edu | qsh-dx | qshd-dx | qshd-cmcc]")
|
||||
t := flag.String("t", "qsh-edu", "login type, \n {qsh-edu | qsh-dx | qshd-dx | qshd-cmcc | sh-edu | sh-dx | sh-cmcc}")
|
||||
flag.Parse()
|
||||
if *h {
|
||||
fmt.Println("Usage:")
|
||||
|
||||
Reference in New Issue
Block a user