Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate shorthand flag -t #45

Closed
reubenmiller opened this issue Feb 24, 2022 · 0 comments · Fixed by #46
Closed

Duplicate shorthand flag -t #45

reubenmiller opened this issue Feb 24, 2022 · 0 comments · Fixed by #46

Comments

@reubenmiller
Copy link
Contributor

There is a duplicate usage of a shorthand flag "-t" which is used both for "--token" and "--tenant".

The help shows the conflict:

>> c8ylp server --help                                                                                                                             Usage: c8ylp server [OPTIONS] DEVICE

…
Options:
--host TEXT               Cumulocity Hostname  [required] [env var:
C8Y_HOST]
-t, --tenant TEXT         Cumulocity tenant id  [env var: C8Y_TENANT]
-u, --user TEXT           Cumulocity username  [env var: C8Y_USER,
C8Y_USERNAME]
-t, --token TEXT          Cumulocity token  [env var: C8Y_TOKEN]

Suggested change

  • Remove the "-t" option for "--token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant