-
-
Notifications
You must be signed in to change notification settings - Fork 786
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
Invalid option values are silently ignored #675
Labels
Comments
Thank you very much for reporting this. That should definitely be fixed. I actually made a similar change to my |
sharkdp
added a commit
that referenced
this issue
Oct 25, 2020
sharkdp
added a commit
that referenced
this issue
Oct 25, 2020
Should be fixed in #676:
|
sharkdp
added a commit
that referenced
this issue
Oct 25, 2020
fix released in v8.2.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug you encountered:
When supplying an invalid value to an option that expects a numeric value,
fd
silently ignores that option.For example,
fd --max-depth x
silently ignores the--max-depth
option.At least the following options are affected:
--min-depth
--max-depth
(--maxdepth
)--exact-depth
--threads
--max-buffer-time
--max-results
Describe what you expected to happen:
I expected
fd
to exit with an error message saying the option value is invalid.What version of
fd
are you using?fd 8.1.1
Which operating system / distribution are you on?
Windows 10 (Version 2004, Build 19041.572)
The text was updated successfully, but these errors were encountered: