oduwsdl / hypercane

A toolkit for developing algorithms that sample mementos from a web archive collection.

Home Page:https://oduwsdl.github.io/hypercane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate error/help message in CLI

ibnesayeed opened this issue · comments

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