df -m no longer works
Open
Nobody has claimed this yet.
U - df
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
In the old coreutils df -m displays in megabytes
the -m switch is however not shown in Man or shown in df --help - this is probably an oversight?
the alternative format is df -BM
in the new coreutils df -m throws a wobbly - unknown switch
for backward compatibility could df -m behave the same as df -BM ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Rust implementation of the df command and its option and help definitions, then compare handling of -m with -BM. Done means df -m is accepted with the same behavior as df -BM, and the option is represented in --help and the man page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100