Remove redundant args

This commit is contained in:
Jez Cope 2021-07-03 19:47:34 +01:00
parent 5a55ced6ff
commit 1b669b8733
1 changed files with 1 additions and 6 deletions

View File

@ -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")