diff options
| author | Sheng Hau <shioju12@gmail.com> | 2017-04-19 00:23:57 +0800 |
|---|---|---|
| committer | Sheng Hau <shioju12@gmail.com> | 2017-04-19 00:25:48 +0800 |
| commit | 0653b8413e11ea0a75fc86ea3ea08d54762ea594 (patch) | |
| tree | 53d57156e161299fff9142611e2fa40f47c9cc1b /src/bin | |
| parent | b4833a8c581f92e87eeb0f5a6f11719f4eb94092 (diff) | |
Show exit codes' meanings with the rustfmt help message
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/rustfmt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index 227ab849b3c..a802c3360ff 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -202,6 +202,7 @@ fn execute(opts: &Options) -> FmtResult<Summary> { match try!(determine_operation(&matches)) { Operation::Help => { print_usage(opts, ""); + Summary::print_exit_codes(); Ok(Summary::new()) } Operation::Version => { |
