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:
Jeff Mitchell authored and GitHub committed 2020-08-13 11:20:22 -04:00
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
}