Skip to content

Commit

Permalink
Merge pull request #5814 from vasco-santos/chore/add-available-option…
Browse files Browse the repository at this point in the history
…s-for-perm-on-error

chore: add available options for perm on error
  • Loading branch information
magik6k authored Mar 25, 2021
2 parents 5f80869 + 9120d6f commit 312c69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 312c69f

Please sign in to comment.