cli: kill cmd_list_keys

Redundant with query

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
Kent Overstreet 2026-04-12 22:26:08 -04:00
parent ad59596335
commit a6b93c2255
2 changed files with 0 additions and 41 deletions

View file

@ -203,12 +203,6 @@ enum NodeCmd {
/// New key
new_key: String,
},
/// List all node keys (one per line, optional glob)
#[command(name = "list")]
List {
/// Glob pattern to filter keys
pattern: Option<String>,
},
}
#[derive(Subcommand)]
@ -494,7 +488,6 @@ impl Run for NodeCmd {
match self {
Self::Delete { key } => cli::node::cmd_node_delete(&key),
Self::Rename { old_key, new_key } => cli::node::cmd_node_rename(&old_key, &new_key),
Self::List { pattern } => cli::node::cmd_list_keys(pattern.as_deref()),
}
}
}