From ce3a299f2371abba7c1dadbc2aa14980cda456e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Tue, 19 Dec 2023 15:36:56 +0100 Subject: [PATCH] aconfig: remove support for --format=verbose This CL is part of a larger effort to simplify maintenance by removing format aliases: with the new --format option, clients of `aconfig dump` can specify the format they need themselves. Bug: 317044914 Test: m Change-Id: I4db31eb3fe03c34118d61a0a1911e12f5049b77d --- tools/aconfig/src/dump.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tools/aconfig/src/dump.rs b/tools/aconfig/src/dump.rs index 858d14ae91..e242db2a76 100644 --- a/tools/aconfig/src/dump.rs +++ b/tools/aconfig/src/dump.rs @@ -41,10 +41,6 @@ impl TryFrom<&str> for DumpFormat { "text" => Ok(Self::Custom( "{fully_qualified_name} [{container}]: {permission} + {state}".to_owned(), )), - "verbose" => Ok(Self::Custom( - "{fully_qualified_name} [{container}]: {permission} + {state} ({trace:paths})" - .to_owned(), - )), // custom format _ => Ok(Self::Custom(value.to_owned())), @@ -275,10 +271,6 @@ mod tests { "text", "com.android.aconfig.test.enabled_ro [system]: READ_ONLY + ENABLED" ); - assert_dump_parsed_flags_custom_format_contains!( - "verbose", - "com.android.aconfig.test.enabled_ro [system]: READ_ONLY + ENABLED (tests/test.aconfig, tests/first.values, tests/second.values)" - ); } #[test]