|
@@ -60,7 +60,7 @@ func parseArgs(args []string) (kvs []*KV) {
|
|
|
|
|
|
func usage() {
|
|
|
fmt.Println("usage:")
|
|
|
- fmt.Println(" msh p=password|a=passcode [[c=]command [p=password|a=passcode] [x=cmd-end-regexp] [[r=regexp] [o=output|n=outputline]]...]...")
|
|
|
+ fmt.Println(" msh p=password|a=passcode [[c=]command [p=password|a=passcode] [rp=prompt-regexp] [x=cmd-end-regexp] [[r=output-regexp] [o=output|n=output-with-newline]]...]...")
|
|
|
fmt.Println(" a=encoded passcode, or use p=password")
|
|
|
fmt.Println(" no command, encode password")
|
|
|
fmt.Println(" debug info include: p(progress) a(argments) m(match) 1(all)")
|