New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow bundling options and arguments #274
Labels
enhancement
New feature or request
Comments
bagder
added a commit
that referenced
this issue
May 6, 2024
With this change, we can write "trurl curl.se -g{host}", without having a space after "-g". This goes for all short options. -v and -h are still treated specially because they cannot be combined with other options Proposed-by: @mrnoname1000 Fixes #274
bagder
added a commit
that referenced
this issue
May 6, 2024
With this change, we can write "trurl curl.se -g{host}", without having a space after "-g". This goes for all short options. -v and -h are still treated specially because they cannot be combined with other options Proposed-by: @mrnoname1000 Fixes #274
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: