From a6cfa67b405102d4ff67a54bfb9f4d67de67a49f Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 2 Jul 2023 18:34:40 +0100 Subject: [PATCH] refactor: `--print` help message --- README.md | 2 +- src/bin/git-view.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dcaa3c6..a956eb0 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ OPTIONS: [default: current commit] -p, --path The directory/file to view on GitHub [default: current working directory] - --print Don't open GitHub and print URL + --print Print URL instead of opening on GitHub -h, --help Print help information -V, --version Print version information ``` diff --git a/src/bin/git-view.rs b/src/bin/git-view.rs index c04fc97..5e52545 100644 --- a/src/bin/git-view.rs +++ b/src/bin/git-view.rs @@ -71,7 +71,7 @@ fn main() { ) .arg( Arg::new("print") - .long_help("Don't open GitHub and print URL") + .long_help("Print URL instead of opening on GitHub") .long("print") .display_order(6), );