summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-08-18 14:00:27 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-08-27 18:47:54 -0400
commitc12d7b3315734981d11cdd3ecb0f87e4c99aa033 (patch)
treeedaaa92a8061e9e069a47e2a77efd1894cea116e /src
parent45b2f382db4febb1db738785f870424aee22f01c (diff)
Commands called with no arguments now print usage
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'src')
-rw-r--r--src/commands/list.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/list.rs b/src/commands/list.rs
index 0ffebd12..fefe9a9f 100644
--- a/src/commands/list.rs
+++ b/src/commands/list.rs
@@ -195,6 +195,7 @@ fn cmd_list_inner(opt: &Cli) -> anyhow::Result<()> {
opt_set!(fs_opts, verbose, 1);
}
+ // scan for member devices
let fs = Fs::open(&opt.devices, fs_opts)?;
match opt.mode {