diff options
author | fxqnlr <[email protected]> | 2022-12-18 23:11:50 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2022-12-18 23:11:50 +0100 |
commit | 28706f6edf10a135a67334d7035948bab4064bef (patch) | |
tree | 64ce9c6aa58167e0b9ffbca968c1aaab224cea73 /src/commands/list.rs | |
parent | dc5955955785cdabea90c010db65b661ab87e2dc (diff) | |
download | modlist-28706f6edf10a135a67334d7035948bab4064bef.tar modlist-28706f6edf10a135a67334d7035948bab4064bef.tar.gz modlist-28706f6edf10a135a67334d7035948bab4064bef.zip |
dl add clean & all-lists; start of io
Diffstat (limited to 'src/commands/list.rs')
-rw-r--r-- | src/commands/list.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<dyn std::error::Error>> | |||
21 | }, | 21 | }, |
22 | Subcmd::Remove => { | 22 | Subcmd::Remove => { |
23 | remove(config, input.args.ok_or("")?) | 23 | remove(config, input.args.ok_or("")?) |
24 | }, | ||
25 | _ => { | ||
26 | Err(Box::new(Error::new(ErrorKind::InvalidInput, "WRONG_SUBCOMMAND"))) | ||
24 | } | 27 | } |
25 | } | 28 | } |
26 | } | 29 | } |