ockam icon indicating copy to clipboard operation
ockam copied to clipboard

`ockam command wrongoption` should output error with correct options

Open lameferret opened this issue 2 years ago • 0 comments

Current Behaviour

> ockam node wrong
error: Found argument 'wrong' which wasn't expected, or isn't valid in this context

USAGE:
    ockam node [OPTIONS] <SUBCOMMAND>

For more information try --help

Should Be

> ockam node wrong 
error: Found argument 'wrong' which wasn't expected, or isn't valid in this context

USAGE:
    ockam node [OPTIONS] <SUBCOMMAND>
    [OPTIONS]
            create 
            delete
            echoer
            list
            show
            uppercase

For more information try --help

Future goal for suggestion is like create <NODENAME> --api-address <IPV4/6 ADDRESS>, but right now design isn't fixed, so this will create extra baggage.

Suggestions are welcome #3143

PR's can be submitted in sections.

lameferret avatar Aug 07 '22 17:08 lameferret