From 7ac788fd448c68982c4c77bf0288ef941248addd Mon Sep 17 00:00:00 2001 From: tilpner Date: Mon, 20 May 2019 17:34:04 +0200 Subject: Remove unnecessary structopt attribute --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 6fb7cc8..7810a1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ use itertools; use rand; use config::Config; -use structopt::{ StructOpt, clap::ArgGroup }; +use structopt::StructOpt; use mime_guess::{ Mime, guess_mime_type_opt }; @@ -32,7 +32,6 @@ mod base62; const ONE_TRUE_THEME: &'static str = "Solarized (dark)"; #[derive(StructOpt, Debug, Clone, Serialize, Deserialize)] -#[structopt(raw(group = r#"ArgGroup::with_name("processor")"#))] struct Opt { #[structopt(short = "C", long = "config-file", parse(from_os_str))] config_file: Option, -- cgit v1.2.3