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 {