chore: add available options for perm on error
This commit is contained in:
parent
a54c6bfb05
commit
9120d6f82f
@ -90,7 +90,7 @@ var authApiInfoToken = &cli.Command{
|
||||
ctx := ReqContext(cctx)
|
||||
|
||||
if !cctx.IsSet("perm") {
|
||||
return xerrors.New("--perm flag not set")
|
||||
return xerrors.New("--perm flag not set, use with one of: read, write, sign, admin")
|
||||
}
|
||||
|
||||
perm := cctx.String("perm")
|
||||
|
Loading…
Reference in New Issue
Block a user