Skip to content

bad formatting in "wrong subcommand" error: "choose from u'track', u'untrack', ..." #140

Open
@juleskers

Description

@juleskers

I just started trying gitless 5 minutes ago (evaluating for broader adoption in my group).

Intuitively, I tried short-labels for commands: gl st for gl status
This didn't work (which is OK, and not the point I want to make).

The error message I received could use some polish:

gl: error: argument subcmd_name: invalid choice: 'st' (choose from u'track', u'untrack', u'status', u'diff', u'commit', u'branch', u'tag', u'checkout', u'merge', u'resolve', u'fuse', u'remote', u'publish', u'switch', u'init', u'history')

Note the many u'....', which seems to be leaky python unicode strings.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions