Skip to content

Commit

Permalink
Collapse more into the generic case
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnan-chandra committed Jul 27, 2024
1 parent e1a01d3 commit 7ea4507
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/uv/src/commands/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ pub(crate) fn help(query: &[String], printer: Printer, no_pager: bool) -> Result
let prompt = format!("help: uv {}", query.join(" "));
spawn_pager(&pager, &["-R", "-P", &prompt], &help_ansi)?
}
Some("more") => spawn_pager(&pager, &[], &help)?,
Some(x) if !x.is_empty() => spawn_pager(&pager, &[], &help)?,
_ => {
writeln!(printer.stdout(), "{help_ansi}")?;
Expand Down

0 comments on commit 7ea4507

Please sign in to comment.