diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index f016b4c..a63945a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ use crate::frontier::mean::MeanFrontier; use crate::frontier::min::MinFrontier; use crate::frontier::Frontier; -use clap::{self, clap_app, crate_authors, crate_name, crate_version, AppSettings}; +use clap::{self, clap_app, crate_authors, crate_name, crate_version}; use image::{self, Rgba, RgbaImage}; @@ -109,7 +109,9 @@ impl Args { let args = clap_app!((crate_name!()) => (version: crate_version!()) (author: crate_authors!()) - (setting: AppSettings::ColoredHelp) + (@setting ColoredHelp) + (@setting DeriveDisplayOrder) + (@setting UnifiedHelpMessage) (@group source => (@arg DEPTH: -b --("bit-depth") +takes_value "Use all DEPTH-bit colors") (@arg INPUT: -i --input +takes_value "Use colors from the INPUT image") |