From aa04647514d9a200787a5f1a3003e622716e6d3c Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Tue, 8 Apr 2025 08:41:53 -0700 Subject: [PATCH] Improve help text on other CLI options --- src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.rs b/src/options.rs index c41e1aec5..a61cc4032 100644 --- a/src/options.rs +++ b/src/options.rs @@ -246,7 +246,7 @@ json: Output the results as a machine-readable JSON array with an element per fi Arg::new("skip-unchanged").long("skip-unchanged") .action(ArgAction::SetTrue) .env("DFT_SKIP_UNCHANGED") - .help("Don't display anything if a file is unchanged.") + .help("Don't display anything if a file is unchanged. This is useful when comparing directories of files.") ) .arg( Arg::new("override").long("override") @@ -274,7 +274,7 @@ When multiple overrides are specified, the first matching override wins.")) .arg( Arg::new("list-languages").long("list-languages") .action(ArgAction::SetTrue) - .help("Print all the languages supported by difftastic, along with their extensions.") + .help("Print all the languages supported by difftastic, along with their recognised extensions.") ) .arg( Arg::new("byte-limit").long("byte-limit")