Skip to content

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