Skip to content

Commit

Permalink
Fix slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnan-chandra committed Jul 30, 2024
1 parent a6d776c commit 0bfd48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv/src/commands/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub(crate) fn help(query: &[String], printer: Printer, no_pager: bool) -> Result
.and_then(|name| name.to_str())
.unwrap_or("");

if pager_name.is_empty() {
if pager_command.is_empty() {
writeln!(printer.stdout(), "{help_ansi}")?;
} else if pager_name == "less" {
let prompt = format!("help: uv {}", query.join(" "));
Expand Down

0 comments on commit 0bfd48b

Please sign in to comment.