refactor: `--print` help message

pull/25/head
sgoudham 1 year ago committed by Hamothy
parent df2d5572d9
commit a6cfa67b40

@ -106,7 +106,7 @@ OPTIONS:
[default: current commit] [default: current commit]
-p, --path <path> The directory/file to view on GitHub -p, --path <path> The directory/file to view on GitHub
[default: current working directory] [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 -h, --help Print help information
-V, --version Print version information -V, --version Print version information
``` ```

@ -71,7 +71,7 @@ fn main() {
) )
.arg( .arg(
Arg::new("print") Arg::new("print")
.long_help("Don't open GitHub and print URL") .long_help("Print URL instead of opening on GitHub")
.long("print") .long("print")
.display_order(6), .display_order(6),
); );

Loading…
Cancel
Save