summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-05-04 15:13:09 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-05-04 15:13:09 -0400
commit667f94c760bcf93de19c75663671e5d8e56dad02 (patch)
tree161b346ea86d62ce1e02dca1a27036d340537eeb /src
parentce2904b4840611f769b92b55bf6d9b5afe84d3d7 (diff)
downloadkd-forest-667f94c760bcf93de19c75663671e5d8e56dad02.tar.xz
main: Update the help message
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
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")