gitless
gitless copied to clipboard
bad formatting in "wrong subcommand" error: "choose from u'track', u'untrack', ..."
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.
I see you use python argparse, so this is probably a problem with argparse, and not directly with gitless