diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index d7d80fd..4638adf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,9 +19,9 @@ mod paths; mod db; fn run() -> failure::Fallible<()> { - let opts = cli::get_options()?; - match opts.command { - cli::Command::Sync => cmd::sync::run(&opts), + let command = cli::get_options()?; + match command { + cli::Command::Sync { username } => cmd::sync::run(&username), } } |