The first dash on –-tags is actually ASCII character U+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX character (â) instead of U+002D HYPHEN-MINUS character (-).
When pasted into CLI this results in the following error:
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
Unknown options: Key=Star,Value=1, –-tags
Obviously ideally a user should retype commands for security but on occasion copy and paste is faster and easier.
On the page session tags, some of the tag CLI references use non-standard ASCII dashes which cause an error when copying and pasting locally.
For example in this block from the page;
The first dash on
–-tags
is actually ASCII characterU+00E2 LATIN SMALL LETTER A WITH CIRCUMFLEX character (â)
instead ofU+002D HYPHEN-MINUS character (-)
.When pasted into CLI this results in the following error:
Obviously ideally a user should retype commands for security but on occasion copy and paste is faster and easier.