diff --git a/CHANGELOG.md b/CHANGELOG.md index d9d98d616..35ba6b6f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - fd doesn't show substituted drive on Windows, see #365 - Properly handle write errors to devices that are full, see #737 - Use local time zone for time functions (`--change-newer-than`, `--change-older-than`), see #631 (@jacobmischka) +- Support `--list-details` on more platforms (like BusyBox), see #783 ## Changes diff --git a/src/main.rs b/src/main.rs index 99470daa9..7acba8898 100644 --- a/src/main.rs +++ b/src/main.rs @@ -210,11 +210,13 @@ fn run() -> Result { #[allow(unused)] let gnu_ls = |command_name| { + // Note: we use short options here (instead of --long-options) to support more + // platforms (like BusyBox). vec![ command_name, - "-l", // long listing format - "--human-readable", // human readable file sizes - "--directory", // list directories themselves, not their contents + "-l", // long listing format + "-h", // human readable file sizes + "-d", // list directories themselves, not their contents &color_arg, ] };