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 '.', \