Skip to content

Commit

Permalink
{ACR} Connected registry error help command typo (#23431)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosanch authored Aug 5, 2022
1 parent dafa923 commit a1a2234
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def acr_connected_registry_create(cmd, # pylint: disable=too-many-locals, too-m
notifications=None):

if bool(sync_token_name) == bool(repositories):
raise CLIError("usage error: you must provide either --sync-token-name or --repository, but not both.")
raise CLIError("usage error: you must provide either --sync-token or --repository, but not both.")
# Check needed since the sync token gateway actions must be at least 5 characters long.
if len(connected_registry_name) < 5:
raise InvalidArgumentValueError("argument error: Connected registry name must be at least 5 characters long.")
Expand Down

0 comments on commit a1a2234

Please sign in to comment.