From a5f9cf52c61a84f86b99bc8c7ad852b3b37dd9e8 Mon Sep 17 00:00:00 2001 From: Edoardo Marangoni Date: Wed, 22 May 2024 09:22:30 +0200 Subject: [PATCH] fix(cli): By default, generate manual pages in .local/share/man/man1 --- lib/cli/src/commands/gen_manpage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/src/commands/gen_manpage.rs b/lib/cli/src/commands/gen_manpage.rs index d82b9dd2714..e2c396232c6 100644 --- a/lib/cli/src/commands/gen_manpage.rs +++ b/lib/cli/src/commands/gen_manpage.rs @@ -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)]