Skip to content

vere: support long-form command line arguments#5428

Merged
Fang- merged 4 commits into
next/verefrom
m/--vere-args
Feb 2, 2022
Merged

vere: support long-form command line arguments#5428
Fang- merged 4 commits into
next/verefrom
m/--vere-args

Conversation

@Fang-

@Fang- Fang- commented Nov 15, 2021

Copy link
Copy Markdown
Member

Uses getopts_long to support long-form versions of every existing
command line argument, and adds them all to the help text, adding some
missing entries along the way.

This frees us from the confines of the alphabet, giving us the breathing room we need to move forward confidently.

I just off-the-cuff'd most of these, feel free to suggest alternatives etc.

Uses getopts_long to support long-form versions of every existing
command line argument, and adds them all to the help text, adding some
missing entries along the way.
mrdomino and others added 2 commits November 25, 2021 13:31
Tested by building vere and trying it with `-B`, `-p`, and `-F`.
vere: alphabetize getopt short options

@joemfb joemfb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this, @Fang-!

In the long run, I'm not sure that we want to enforce the variant that all short options have long options. There's more than a couple short options that are just gestures towards features that need to be (re-)implemented. And I'd like to make a pass over some of these names. But I haven't been able to get to those things, and this is much better than what we currently have.

LGTM

@Fang- Fang- merged commit 0998228 into next/vere Feb 2, 2022
@Fang- Fang- deleted the m/--vere-args branch February 2, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants