From f75d03c5709704681235480cc46c21d99066a43b Mon Sep 17 00:00:00 2001 From: Taha Hawa Date: Thu, 17 Apr 2025 18:04:08 -0400 Subject: [PATCH] Update readme, add conflict --- README.md | 7 +++---- harmony_cli/src/lib.rs | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4f53d25..bda7b1a 100644 --- a/README.md +++ b/README.md @@ -15,18 +15,17 @@ This is the harmony CLI, a minimal implementation The current help text: ```` -Usage: harmony_cli [OPTIONS] +Usage: example-cli [OPTIONS] Options: - -r, --run Run score(s) or not + -y, --yes Run score(s) or not -f, --filter Filter query -i, --interactive Run interactive TUI or not -a, --all Run all or nth, defaults to all -n, --number Run nth matching, zero indexed [default: 0] -l, --list list scores, will also be affected by run filter -h, --help Print help - -V, --version Print version -``` + -V, --version Print version``` ## Core architecture diff --git a/harmony_cli/src/lib.rs b/harmony_cli/src/lib.rs index 0d73b21..1dea3de 100644 --- a/harmony_cli/src/lib.rs +++ b/harmony_cli/src/lib.rs @@ -27,7 +27,8 @@ pub struct Args { short, long, default_value_t = true, - default_value_if("number", ArgPredicate::IsPresent, "false") + default_value_if("number", ArgPredicate::IsPresent, "false"), + conflicts_with = "number" )] all: bool,