Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Allow user to reorder column view #276

Open
C0rn3j opened this issue Mar 3, 2024 · 0 comments
Open

[Feature] Allow user to reorder column view #276

C0rn3j opened this issue Mar 3, 2024 · 0 comments

Comments

@C0rn3j
Copy link

C0rn3j commented Mar 3, 2024

I was sort of hoping setting -output would reorder the columns by its content on its own.

  -output string
        output fields: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem

However
duf -output 'mountpoint, usage, filesystem' (default sort) and
duf -output 'filesystem, mountpoint, usage' are functionally identical.

I would welcome if my ordering in the output was respected.
To not break things for users as is, maybe it should be hidden behind a -order-columns: default, custom flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant