diff --git a/src/cli.rs b/src/cli.rs index 493993c..41bca1f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -250,10 +250,10 @@ pub fn build_cli_nocomplete() -> Command { .hide_possible_values(true) .display_order(7) .help_heading("Format") - .help("Ouput format (cols/c/tab/t)") - .long_help("Ouput format (cols/c/tab/t)\n \ - (default): cols on tty, tab otherwise\n \ - cols|c: space-aligned columns\n \ + .help("Ouput format (columns/c/tab/t)") + .long_help("Ouput format (columns/c/tab/t)\n \ + (default): columns on tty, tab otherwise\n \ + columns|c: space-aligned columns\n \ tab|t: tab-separated values"); //////////////////////////////////////////////////////////// diff --git a/src/main.rs b/src/main.rs index 4e0d594..a93a23f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -150,7 +150,7 @@ pub enum ColorStyle { #[derive(Clone, Copy, clap::ValueEnum, PartialEq, Eq)] pub enum OutStyle { #[clap(alias("c"))] - Cols, + Columns, #[clap(alias("t"))] Tab, } @@ -183,7 +183,7 @@ impl Styles { }; let out = match args.get_one("output") { Some(o) => *o, - None if isterm => OutStyle::Cols, + None if isterm => OutStyle::Columns, None => OutStyle::Tab, }; let header = args.get_flag("header");