aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.1k stars 4.01k forks source link

Warning when getting help #8455

Open depesz opened 6 months ago

depesz commented 6 months ago

Describe the bug

Some aws commands generate warning related to strings, when asking for help.

Expected Behavior

Help pages shouldn't generate warnings.

Current Behavior

This is just example, there are many help pages that generate the warning.

=$ aws apprunner disassociate-custom-domain help > /dev/null
<string>:298: (WARNING/2) Inline literal start-string without end-string.

Reproduction Steps

Run help on some aws commands, and redirect help to /dev/null to see the warning.

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.15.4 Python/3.11.6 Linux/6.5.0-5-amd64 exe/x86_64.debian prompt/off

Environment details (OS name and version, etc.)

Linux Debian (trixie). Kernel 6.5.0-5-amd64; Python 3.11.7

depesz commented 6 months ago

List of services/commands that generate this warning:

depesz commented 6 months ago

Scanned all other docs, and found also these:

Inline emphasis start-string without end-string.

Anonymous hyperlink mismatch: 1 references but 0 targets.

There are also other warnings/errors, but these are the most common. In total I found some kind of stderr message in 310 service/command help pages.

lazize commented 3 months ago
$ aws kms generate-data-key help
<string>:: (ERROR/3) Anonymous hyperlink mismatch: 2 references but 0 targets.
See "backrefs" attribute for IDs.
$ aws kms help
<string>:18: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
$ aws --version
aws-cli/2.15.26 Python/3.11.8 Linux/5.15.146.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off
akshat62 commented 2 weeks ago

I can take it up. New to this. Pointers will be helpful.