Skip to content

Commit

Permalink
Removed unsupported ColorHelp from claps AppSettings.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexliesenfeld committed Nov 15, 2021
1 parent 6697f59 commit 0972dd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
use clap::{AppSettings, Clap};
use clap::Parser;
use httpmock::standalone::start_standalone_server;
use std::env;
use std::path::PathBuf;

/// Holds command line parameters provided by the user.
#[derive(Clap, Debug)]
#[derive(Parser, Debug)]
#[clap(
version = "0.6",
author = "Alexander Liesenfeld <alexander.liesenfeld@outlook.com>"
)]
#[clap(setting = AppSettings::ColoredHelp)]
struct ExecutionParameters {
#[clap(short, long, env = "HTTPMOCK_PORT", default_value = "5000")]
pub port: u16,
Expand Down

0 comments on commit 0972dd9

Please sign in to comment.