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

Consistency in xtt tool usage strings #62

Closed
drbild opened this issue Sep 26, 2018 · 0 comments
Closed

Consistency in xtt tool usage strings #62

drbild opened this issue Sep 26, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@drbild
Copy link
Contributor

drbild commented Sep 26, 2018

The various usage strings in the xtt tool subcommands are not consistent:

  • "Usage: xtt a b c"
  • "Usage: xtt-tool a b c"
  • "Usage: %s a b c"%argv[0]

We should standardize on one.

"Usage: %s a b c"%argv[0]" (at the top-level) or "Usage: %s %s a b c"%(argv[0], argv[1]) (within commands) seems correct to me.

Using argv ensures that usage string mirrors that name that the user typed.

@drbild drbild added the bug Something isn't working label Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants