Skip to content

fix: parse RuleMode::Directory from 'dir' as well as 'directory' #272

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

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

adam-gaia
Copy link
Contributor

Hello,

The help message shows

 -r, --rule <ARG_RULES>
          Pass rules via CLI. -r/--rule `/remount/this:/to/this:<file/dir>`

which lead me to believe I should write dir instead of directory as the file mode. Eventually I figured out that only directory is acceptable.

This is a quick PR allows parsing either 'dir' or 'directory'. If you would rather not accept this PR, please consider updating the help message to spell out the full word directory

@adam-gaia
Copy link
Contributor Author

I really love boxxy, btw! Best of luck with your health!

@queer queer merged commit 4941c88 into queer:mistress Dec 4, 2024
5 of 11 checks passed
@queer
Copy link
Owner

queer commented Dec 4, 2024

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