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

Consider adding a --mindepth alias for --min-depth #1616

Closed
cstyles opened this issue Sep 23, 2024 · 0 comments · Fixed by #1617
Closed

Consider adding a --mindepth alias for --min-depth #1616

cstyles opened this issue Sep 23, 2024 · 0 comments · Fixed by #1617

Comments

@cstyles
Copy link
Contributor

cstyles commented Sep 23, 2024

As of #323, fd supports a --maxdepth alias. However, no such alias exists for --min-depth so the following, seemingly correct command fails:

$ fd --maxdepth=3 --mindepth=2
error: unexpected argument '--mindepth' found

  tip: a similar argument exists: '--min-depth'

Usage: fd --max-depth <depth> --min-depth <depth> [pattern] [path]...

For more information, try '--help'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant