diff options
| author | 2023-12-19 22:00:40 +0000 | |
|---|---|---|
| committer | 2023-12-19 22:00:40 +0000 | |
| commit | 45e9ce5d496a30f342a94aa5b11988b30d95f777 (patch) | |
| tree | c5ebfa24810729e7ac009ee6285a78173d0735e0 /tools/aconfig/src | |
| parent | 8351b782341bc4c9a08a82a47fae504386b5889c (diff) | |
| parent | c91ebf8153c5ff2598bd32e4458d191e081192ae (diff) | |
Merge "aconfig: rename subcommand 'dump' -> 'dump-cache'" into main
Diffstat (limited to 'tools/aconfig/src')
| -rw-r--r-- | tools/aconfig/src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/aconfig/src/main.rs b/tools/aconfig/src/main.rs index c6adff73cd..59f36773b2 100644 --- a/tools/aconfig/src/main.rs +++ b/tools/aconfig/src/main.rs @@ -107,7 +107,8 @@ fn cli() -> Command { .arg(Arg::new("out").long("out").default_value("-")), ) .subcommand( - Command::new("dump") + Command::new("dump-cache") + .alias("dump") .arg(Arg::new("cache").long("cache").action(ArgAction::Append)) .arg( Arg::new("format") @@ -260,7 +261,7 @@ fn main() -> Result<()> { let path = get_required_arg::<String>(sub_matches, "out")?; write_output_to_file_or_stdout(path, &output)?; } - Some(("dump", sub_matches)) => { + Some(("dump-cache", sub_matches)) => { let input = open_zero_or_more_files(sub_matches, "cache")?; let format = get_required_arg::<DumpFormat>(sub_matches, "format") .context("failed to dump previously parsed flags")?; |