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

df: implement the File column #3294

Merged
merged 1 commit into from
Mar 27, 2022
Merged

Conversation

jfinkels
Copy link
Collaborator

Implement the "File" column in the df output table. Before this
commit, a blank entry appeared in the "File" column for each
row. After this commit, a "-" entry appears when df is run with no
positional arguments and the filename appears when run with positional
arguments. For example:

$ touch a b c && df --output=target,file a b c
Mounted on File
/          a
/          b
/          c

src/uu/df/src/table.rs Outdated Show resolved Hide resolved
@sylvestre
Copy link
Contributor

there is also this error:
missing field filein initializer ofRow``

Implement the "File" column in the `df` output table. Before this
commit, a blank entry appeared in the "File" column for each
row. After this commit, a "-" entry appears when `df` is run with no
positional arguments and the filename appears when run with positional
arguments. For example:

    $ touch a b c && df --output=target,file a b c
    Mounted on File
    /          a
    /          b
    /          c
@sylvestre sylvestre merged commit d5d6bc3 into uutils:main Mar 27, 2022
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

Successfully merging this pull request may close these issues.

2 participants