From 3009c73e9c080d89ca24e9396945afd36179c2eb Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 21 Mar 2022 09:13:56 +0100 Subject: [PATCH] ls -aA: Add a comment --- src/uu/ls/src/ls.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index d7562c29e..a63e9fd07 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -1202,6 +1202,7 @@ pub fn uu_app<'a>() -> Command<'a> { Arg::new(options::files::ALL) .short('a') .long(options::files::ALL) + // Overrides -A (as the order matters) .overrides_with(options::files::ALMOST_ALL) .help("Do not ignore hidden files (files with names that start with '.')."), ) @@ -1209,6 +1210,7 @@ pub fn uu_app<'a>() -> Command<'a> { Arg::new(options::files::ALMOST_ALL) .short('A') .long(options::files::ALMOST_ALL) + // Overrides -a (as the order matters) .overrides_with(options::files::ALL) .help( "In a directory, do not ignore all file names that start with '.', \