From 4af313b829de41bbffd1fca594a2dbba40c8e547 Mon Sep 17 00:00:00 2001 From: Ed Cragg Date: Thu, 7 Dec 2023 12:23:04 +0000 Subject: [PATCH] Rename --view to --pager Seems more natural --- aocf_cli/src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aocf_cli/src/cli.rs b/aocf_cli/src/cli.rs index e8be92e..a0adff2 100644 --- a/aocf_cli/src/cli.rs +++ b/aocf_cli/src/cli.rs @@ -16,7 +16,7 @@ pub enum Aocf { /// Get input data for the current problem Input { /// View in pager - #[clap(short, long)] + #[clap(short, long = "pager")] view: bool, /// Don't use cache @@ -35,7 +35,7 @@ pub enum Aocf { pretty: bool, /// View in pager - #[clap(short, long, conflicts_with = "pretty")] + #[clap(short, long = "pager", conflicts_with = "pretty")] view: bool, /// View in web browser