Skip to content
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

Make the argument file (option file) more readable #226

Closed
eldipa opened this issue May 4, 2022 · 0 comments · Fixed by #227
Closed

Make the argument file (option file) more readable #226

eldipa opened this issue May 4, 2022 · 0 comments · Fixed by #227
Labels
enhancement something nice to have but it is not neither critical nor urgent
Milestone

Comments

@eldipa
Copy link
Collaborator

eldipa commented May 4, 2022

Describe the feature you'd like

The =

When using @boptions, the file boptions needs to have 1 argument per line. When an argument receives an argument (confusing wording here), you need to use = or use multiple lines:

-l=python

or

-l
python

The idea is to be able to use a space as a separator instead of =

-l python

This does not solve all the problems however: when multiple arguments are required, with and without = will yield an invalid file:

--skip=foo bar baz

This is because foo bar baz will be seen as a single argument and not three and obviously such file does not exit.

And we cannot do much about it, the following are currently valid and depends on this "single argument per line" premise

-x-shebang=%e %p %a

Comment lines with #

We can support empty lines and lines that starts with # and treat them as comment.

@eldipa eldipa added the enhancement something nice to have but it is not neither critical nor urgent label May 4, 2022
@eldipa eldipa added this to the 10.5.2 milestone May 4, 2022
@eldipa eldipa changed the title Allow to use a space instead of an = to separate the flag from its value(s) in an argument file Make the argument file (option file) more readable May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something nice to have but it is not neither critical nor urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant