aws / rolesanywhere-credential-helper

Apache License 2.0
127 stars 38 forks source link

Remove extra hardcoded default port in help for aws_signing_helper serve command #67

Closed jindraj closed 8 months ago

jindraj commented 8 months ago

Issue #, if available:

Description of changes: Help for aws_signing_helper serve command prints the default port two twice. The one separated with colon is hardcoded and do not reflect changes of DefaultPort in aws_signing_helper/serve.go.

The changes in pull request removes the extra hardcoded default port from help section.

aws_signing_helper serve --help

before

…
       --port int                   The port used to run the local server (default: 9911) (default 9911)
…

after

…
       --port int                   The port used to run the local server (default 9911)
…

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.