Skip to content

[suggest]hard to show exact bytes size, let's make use of -h #1168

@shejingui

Description

@shejingui
  • lsd --version: 1.2.0

Actual behavior

By default, it shows human-readable sizes.
To display the exact size in bytes, we have to add an extra option "--size bytes", which is not very convenient. beginners have to consult the help command to find the option.

Expected behavior

By default, it shows sizes in bytes.
Human-readable sizes should be shown when -h is specified.

Benefits

This reduces the number of keystrokes needed to switch between the two display formats,
also it keeps the behavior consistent with the classic "ls" command, more easy to switch to "lsd".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions