Skip to content

Commit

Permalink
Replace -l parameter usage of man in help
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Feb 1, 2023
1 parent 70b7101 commit 8ca0cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pineappl_cli/src/help.rs
Expand Up @@ -46,7 +46,7 @@ impl Subcommand for Opts {

// TODO: if `man` can't be found display the usual `--help` message
let mut child = Command::new("man")
.args(["-l", "-"])
.args(["/dev/stdin"])
.stdin(Stdio::piped())
.stdout(Stdio::inherit())
.spawn()?;
Expand Down

0 comments on commit 8ca0cb1

Please sign in to comment.