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:
Łukasz Magiera
2021-03-25 13:56:17 +01:00
committed by GitHub
+1 -1
View File
@@ -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")