slop icon indicating copy to clipboard operation
slop copied to clipboard

Add python-argparse style `metavar` for option help

Open brbrady opened this issue 9 years ago • 2 comments

Display an example variable in help to distinguish boolean flags from options with arguments.

brbrady avatar Aug 28 '15 06:08 brbrady

Sorry this has taken so long. Not sure about adding a new option for this. Maybe we could incorporate them into the long option definitions? Since they can't be symbols anymore it could work

leejarvis avatar Jan 22 '16 09:01 leejarvis

I was just looking for this. (Thanks @brbrady!) It seems proper UX for parameterized args.

In the meantime, we're going to just donkey-punch slop with this patch.

skull-squadron avatar Aug 26 '16 04:08 skull-squadron