From 0df8e7016be881338ee6e708b07b593cc5830c91 Mon Sep 17 00:00:00 2001 From: naskya Date: Mon, 1 Jul 2024 00:29:32 +0900 Subject: [PATCH] WIP --- fishctl/src/command/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fishctl/src/command/mod.rs b/fishctl/src/command/mod.rs index 1c62dd5..4d7501a 100644 --- a/fishctl/src/command/mod.rs +++ b/fishctl/src/command/mod.rs @@ -22,10 +22,10 @@ struct Args { command: Commands, /// Specify the parent of the config directory, - /// which typically is Firefish local repo directory + /// which typically is Firefish local repo /// (default: current directory) #[arg(short = 'd', long, value_name = "PARENT_OF_CONFIG_DIR", global = true)] - firefish_dir: Option, + base_dir: Option, } #[derive(Subcommand)] @@ -42,7 +42,7 @@ enum Commands { pub(super) async fn run() -> Result<(), Error> { let args = Args::parse(); - let dirname = args.firefish_dir.unwrap_or("".to_string()); + let dirname = args.base_dir.unwrap_or("".to_string()); let base_dir = Path::new(&dirname); match args.command {