diff options
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r-- | bin/src/config.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs index 0f09618..07b3f17 100644 --- a/bin/src/config.rs +++ b/bin/src/config.rs | |||
@@ -50,7 +50,8 @@ pub struct Check { | |||
50 | unrestricted: bool, | 50 | unrestricted: bool, |
51 | 51 | ||
52 | /// Output format. | 52 | /// Output format. |
53 | /// Supported values: stderr, errfmt, json (on feature flag only) | 53 | #[cfg_attr(feature = "json", doc = "Supported values: stderr, errfmt, json")] |
54 | #[cfg_attr(not(feature = "json"), doc = "Supported values: stderr, errfmt")] | ||
54 | #[clap(short = 'o', long, default_value_t, parse(try_from_str))] | 55 | #[clap(short = 'o', long, default_value_t, parse(try_from_str))] |
55 | pub format: OutFormat, | 56 | pub format: OutFormat, |
56 | 57 | ||