Update scopes CLI command in the model of the roles command (#262)
* Update scopes CLI command in the model of the roles command * Pull help functions to helper methods
This commit is contained in:
1 parent
f1d69ea1ee
commit
b75a6fc5e5
12 files changed
+442
-353
No files matched your search
@@ -372,7 +372,7 @@ func (c *Command) ParseFlagsAndConfig(args []string) int {
|
||||
c.UI.Error(fmt.Sprintf("Invalid dev auth method ID, must start with %q", prefix))
|
||||
return 1
|
||||
}
|
||||
if len(c.flagDevAuthMethodId) != 13 {
|
||||
if len(c.flagDevAuthMethodId) != 15 {
|
||||
c.UI.Error(fmt.Sprintf("Invalid dev auth method ID, must be 10 base62 characters after %q", prefix))
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user