From 28706f6edf10a135a67334d7035948bab4064bef Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Sun, 18 Dec 2022 23:11:50 +0100 Subject: dl add clean & all-lists; start of io --- src/commands/list.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commands/list.rs') diff --git a/src/commands/list.rs b/src/commands/list.rs index 76965df..096ce65 100644 --- a/src/commands/list.rs +++ b/src/commands/list.rs @@ -21,6 +21,9 @@ pub fn list(config: Cfg, input: Input) -> Result<(), Box> }, Subcmd::Remove => { remove(config, input.args.ok_or("")?) + }, + _ => { + Err(Box::new(Error::new(ErrorKind::InvalidInput, "WRONG_SUBCOMMAND"))) } } } -- cgit v1.2.3