Merge pull request #5814 from vasco-santos/chore/add-available-options-for-perm-on-error
chore: add available options for perm on error
This commit is contained in:
commit
312c69f1da
@ -90,7 +90,7 @@ var AuthApiInfoToken = &cli.Command{
|
|||||||
ctx := ReqContext(cctx)
|
ctx := ReqContext(cctx)
|
||||||
|
|
||||||
if !cctx.IsSet("perm") {
|
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")
|
perm := cctx.String("perm")
|
||||||
|
Loading…
Reference in New Issue
Block a user