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

fix argument ambiguity by using double-dash #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

N-R-K
Copy link
Contributor

@N-R-K N-R-K commented Dec 1, 2022

since it's valid for filenames to begin with a dash, there's an ambiguity on weather something like -i refers to the cli flag or a file named -i.

the convention is to use a double-dash "--" as a way to mark the end of cli options so that everything that comes after it can be treated as arguments.

Closes: #59

since it's valid for filenames to begin with a dash, there's an
ambiguity on weather something like `-i` refers to the cli flag or a
file named `-i`.

the convention is to use a double-dash "--" as a way to mark the end of
cli options so that everything that comes after it can be treated as
arguments.

Closes: mwh#59
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.

[FR] Add -- option to prevent interpretation of filenames with dashes
1 participant