From 1b669b87338cb6b7897bf03dcf2df4e0fd01ea6f Mon Sep 17 00:00:00 2001 From: Jez Cope Date: Sat, 3 Jul 2021 19:47:34 +0100 Subject: [PATCH] Remove redundant args --- src/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 09c4fcb..06e5cf5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,12 +13,7 @@ use clap::SubCommand; #[tokio::main] async fn main() -> Result<()> { - let matches = app_from_crate!() - .args_from_usage( - "-c, --config=[FILE] 'Sets custom config file' - -v, --verbose 'Prints more details when running' - -T, --token=[TOKEN] 'Specifies token for authentication'", - ) + let app = app_from_crate!() .subcommand( SubCommand::with_name("login") .about("authenticates and saves the session details")