Make clap's generated help messages not distinguish "flags" and "options"

Josh Triplett created

Clap normally distinguishes between "flags" (which don't take a value)
and "options" (which take a value), displaying them separately in help.
Enable the UnifiedHelpMessage setting, to unify these two in generated
help messages.

Change summary

src/main.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

src/main.rs 🔗

@@ -1526,6 +1526,7 @@ fn main() {
             .author("Josh Triplett <josh@joshtriplett.org>")
             .version(crate_version!())
             .global_setting(AppSettings::ColoredHelp)
+            .global_setting(AppSettings::UnifiedHelpMessage)
             .global_setting(AppSettings::VersionlessSubcommands)
             .subcommands(vec![
                 SubCommand::with_name("add")