Skip to content

Commit

Permalink
Rename --view to --pager
Browse files Browse the repository at this point in the history
Seems more natural
  • Loading branch information
nuxeh committed Dec 7, 2023
1 parent 8b545b2 commit 4af313b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aocf_cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4af313b

Please sign in to comment.