Skip to content

Commit

Permalink
Rename GetPath to Which
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 committed Jan 20, 2025
1 parent 1ba5d18 commit 9ea29d7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test-manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ struct Args {

#[derive(clap::Subcommand, Debug)]
enum ConfigArg {
/// Print the current config
Get,
/// Modify the current config
Set,
GetPath,
/// Print the path to the current config file
Which,
}

#[derive(clap::Subcommand, Debug)]
Expand Down Expand Up @@ -202,7 +205,7 @@ async fn main() -> Result<()> {
Ok(())
}
ConfigArg::Set => todo!(),
ConfigArg::GetPath => {
ConfigArg::Which => {
println!(
"{}",
ConfigFile::get_config_path()
Expand Down

0 comments on commit 9ea29d7

Please sign in to comment.