summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2024-03-25 21:22:07 +0100
committerStefan Kreutz <mail@skreutz.com>2024-03-25 21:22:07 +0100
commit6c9449f0b8bf80c08c8c6970ee6bca977a39e560 (patch)
treeda42c51626efa32782914f69f3d85e0740e1cb8f
parent2423c86c303bc2efc5d0dbd4a047b333ad526d4d (diff)
downloadbrck-6c9449f0b8bf80c08c8c6970ee6bca977a39e560.tar
Describe --json option more detailed
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 2d26eed..27dd6dc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -67,10 +67,13 @@ struct Args {
deny: Vec<DiffKind>,
/// Enable structured output.
+ ///
+ /// By default, Brck prints differences in a human readable format to standard output.
+ /// With this option, Brck prints differences as newline-delimited JSON objects to standard output.
#[arg(short = 'J', long)]
json: bool,
- /// Print summary to standard error.
+ /// Print a summary to standard error.
#[arg(short, long)]
summary: bool,
Generated by cgit. See skreutz.com for my tech blog and contact information.