Skip to content

Commit

Permalink
fix(cli): By default, generate manual pages in .local/share/man/man1
Browse files Browse the repository at this point in the history
  • Loading branch information
xdoardo committed May 22, 2024
1 parent 4f30cc5 commit a5f9cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/commands/gen_manpage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use clap_mangen::generate_to;
use std::path::PathBuf;

lazy_static::lazy_static! {
static ref DEFAULT_MAN_DIR_PATH: PathBuf = dirs::data_dir().unwrap_or_default().join("man");
static ref DEFAULT_MAN_DIR_PATH: PathBuf = dirs::data_dir().unwrap_or_default().join("man").join("man1");
}

#[derive(Debug, Clone, clap::Parser)]
Expand Down

0 comments on commit a5f9cf5

Please sign in to comment.