From 9120d6f82f1eaac530ea17c2b4f627669f6183ba Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Mon, 15 Mar 2021 13:42:57 +0100 Subject: [PATCH] chore: add available options for perm on error --- cli/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/auth.go b/cli/auth.go index 2f41b38d15f..8723b157650 100644 --- a/cli/auth.go +++ b/cli/auth.go @@ -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")