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 error/help message in CLI #4

Closed
ibnesayeed opened this issue Jun 1, 2020 · 0 comments
Closed

Duplicate error/help message in CLI #4

ibnesayeed opened this issue Jun 1, 2020 · 0 comments
Assignees
Labels
bug

Comments

@ibnesayeed
Copy link
Member

@ibnesayeed ibnesayeed commented Jun 1, 2020

When running hc command with an unsupported action, error/help is printed twice:

$ hc foo
ERROR: unsupported action foo

hc (Hypercane) is a complex toolchain requiring a supported action and additional arguments

For example:
    hc sample dsa1 -i archiveit -a 8778 -o story-mementos.txt

    Supported actions:

    * sample
    * report
    * synthesize
    * identify
    * filter
    * cluster
    * score
    * order

    For each of these actions, you can view additional help by typing --help after the action name, for example:
    hc sample --help

ERROR: unsupported action foo

hc (Hypercane) is a complex toolchain requiring a supported action and additional arguments

For example:
    hc sample dsa1 -i archiveit -a 8778 -o story-mementos.txt

    Supported actions:

    * sample
    * report
    * synthesize
    * identify
    * filter
    * cluster
    * score
    * order

    For each of these actions, you can view additional help by typing --help after the action name, for example:
    hc sample --help
@ibnesayeed ibnesayeed added the bug label Jun 1, 2020
@shawnmjones shawnmjones self-assigned this Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.