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 --no-mount logic inversion #17

Closed
wants to merge 1 commit into from

Conversation

elprans
Copy link
Contributor

@elprans elprans commented May 27, 2021

The --no-mount argument uses store_false which implies True as the
default, making --no-mount the default behavior when the option isn't
specified and when it is specified, it actually means the inverse.
This doesn't seem to be the actual intent (otherwise the option should be
renamed to --mount).

The `--no-mount` argument uses `store_false` which implies `True` as the
default, making `--no-mount` the default behavior, which doesn't seem to
be the actual intent (otherwise the option should be renamed to
`--mount`).
@mgorny
Copy link
Member

mgorny commented May 27, 2021

Good catch, thanks!

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