curl / trurl

trurl is a command line tool for URL parsing and manipulation.
https://curl.se/trurl/
Other
3.1k stars 99 forks source link

Allow bundling options and arguments #274

Closed mrnoname1000 closed 3 months ago

mrnoname1000 commented 5 months ago

With the current option parser, it's impossible to bundle multiple options (i.e. -vh although this is pointless) and options with their arguments (i.e. -f-, -gpath). Bundling saves me time because I can omit extra characters from throwaway one-liners.

Using getopt(3) makes this possible, but that may have portability issues.