Skip to content

Add all exit statuses to docs for cargo check #15895

@DidingasLushis

Description

@DidingasLushis

Problem

Hello there, when cargo checking features that are invalid I get an exit status of 101 and I went to:
https://github.com/rust-lang/cargo/blob/master/src/doc/src/commands/cargo-check.md

To understand this exit code compared to others it would be nice to have a table of the expected exit codes and their meaning.

Proposed Solution

Code Meaning
0 Check Passed
101 Invalid Features
X Meaning X

Notes

Where could I find the returned codes, I would be happy to make this change, however the experienced contributor reading this could likely do so in 10 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cliArea: Command-line interface, option parsing, etc.A-documenting-cargo-itselfArea: Cargo's documentationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions