Skip to content

Conversation

@davexparker
Copy link
Member

The former is (now) preferred since (a) it allows a consistent way of providing options to switches, even when there is no filename; and (b) switch names, unlike file names, can never contain a :

The former is (now) preferred since (a) it allows a consistent way of
providing options to switches, even when there is no filename; and
(b) switch names, unlike file names, can never contain a :
@merkste
Copy link
Contributor

merkste commented Apr 19, 2023

For consistency, easier remembrance and a simpler parser, we should consider

-switch :options

Note the space which makes it syntactically similar to the already supported

-switch file:options

However, if we aim to overhaul the argument parser in the future (potentially using an established framework), I suggest to postpone this change until then.

@davexparker davexparker force-pushed the master branch 2 times, most recently from ca12ca0 to 6bf73df Compare January 12, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants