You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
argv[0] isn't actually automatically appended if you set Prog on the ArgumentParser manually, so the prefix is unnecessary, as you can set it there. I will look at adding this postfix text as an option, though.
For reference, the 'prefix' can be added like this:
parser.Prog("prefix string")
I may have failed to read the documentation thoroughly enough, but that is a a key point to bring up
in some overall documentation, just not API documentation.
That's true. Being a header library that I've thrown together for my own use, it's easy for me to overlook something that somebody else might not see; it is also very young still.
Enable the ability to add additional text before and after usage text.
Currently, my master argument parser looks like this.
I would like it to look like this
even tho the
[<args>]
bit is not backed up by any args from the master parser.When the command parser gets a
--help
, i want the usage text to sayThis requires the disabling of the auto-appended argv[0] argument, and replace it with a string of my choice.
The text was updated successfully, but these errors were encountered: