Skip to content

norikra-client doesn't show command name in Error & Usage messages #3

@Mahito

Description

@Mahito

norikra-client shows error & usage massages when gets wrong command.
It doesn't include command name.

This examples lost "admin" and "query".

% norikra-client admin stats hoge
ERROR: "norikra-client stats" was called with arguments ["hoge"]
Usage: "norikra-client stats"

% norikra-client query add hoge
ERROR: "norikra-client add" was called with arguments ["hoge"]
Usage: "norikra-client add QUERY_NAME QUERY_EXPRESSION"

I expect to get "norikra-client admin stats" or "norikra-client query add".

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions