summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-12-13 22:58:22 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-12-14 04:11:03 +0300
commitb35927f24779a4d2ea9212c3c3000daf50027d63 (patch)
tree6d2694242587a63749586a37a248d5e1ec5bf0c5 /src
parentb9eb364823d0d4f9085eb220233c704a13d0f611 (diff)
Fix logic inversion with --git in --help
$ exa --help [...] -@, --extended display extended attribute keys and sizes $ exa -@ Unrecognized option: '@'. $ exa --extended Unrecognized option: 'extended'. $ exa --git Option --git is useless without option --long. $ exa -l --git .rw-r--r-- 11k user 10 Dec 18:26 -- Cargo.lock [...]
Diffstat (limited to 'src')
-rw-r--r--src/options.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/options.rs b/src/options.rs
index 72996bc..adffef1 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -727,9 +727,8 @@ LONG VIEW OPTIONS
-U, --created display timestamp of creation for a file
"##;
-static GIT_HELP: &'static str = r##" -@, --extended display extended attribute keys and sizes"##;
-static EXTENDED_HELP: &'static str = r##" --git show git status for files"##;
-
+static GIT_HELP: &'static str = r##" --git show git status for files"##;
+static EXTENDED_HELP: &'static str = r##" -@, --extended display extended attribute keys and sizes"##;
#[cfg(test)]
mod test {