From 0baa22f152797fb0c353bf6a217cea4d3e4c9efc Mon Sep 17 00:00:00 2001 From: Sharif Haason Date: Mon, 14 Nov 2022 10:18:03 -0500 Subject: [PATCH] `DeriveDisplayOrder` now default --- src/bin/hexyl.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index 486fc47..6a916fa 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -6,7 +6,7 @@ use std::fs::File; use std::io::{self, prelude::*, BufWriter, SeekFrom}; use std::num::{NonZeroI64, NonZeroU64}; -use clap::{crate_name, crate_version, AppSettings, Arg, ColorChoice, Command}; +use clap::{crate_name, crate_version, Arg, ColorChoice, Command}; use atty::Stream; @@ -24,7 +24,6 @@ const DEFAULT_BLOCK_SIZE: i64 = 512; fn run() -> Result<(), AnyhowError> { let command = Command::new(crate_name!()) - .setting(AppSettings::DeriveDisplayOrder) .color(ColorChoice::Auto) .max_term_width(90) .version(crate_version!())