cargo search return non-zero exit code when no results found #11037
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-search
Problem
Using cargo search in scripts is difficult because if it doesn't find any results it doesn't return a non-zero exit code.
Proposed Solution
Return a non-zero exit code when the search yields no results.
Notes
No response
The text was updated successfully, but these errors were encountered: