chore: add available options for perm on error

This commit is contained in:
Vasco Santos 2021-03-15 13:42:57 +01:00
parent a54c6bfb05
commit 9120d6f82f

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")