The -h flag should not do nothing, but be equivalent to --size default.
The reason is that if an alias sets e.g. --size bytes, to emulate the default behavior of ls, an option to the alias invocation -h is naturally expected to override that.
ls # shows size in bytes
ls -h # shows size human-readable
alias ls='lsd --size bytes'
ls # shows size in bytes (= 'lsd --size bytes')
ls -h # should show size human-readable but doesn't (= 'lsd --size bytes -h')
The
-h
flag should not do nothing, but be equivalent to--size default
.The reason is that if an alias sets e.g.
--size bytes
, to emulate the default behavior ofls
, an option to the alias invocation-h
is naturally expected to override that.lsd --version
: 0.23.1