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

lsblk: Specifying -T without a 'column' parameter results in diagnostic #1132

Closed
ahmogit opened this issue Sep 1, 2020 · 1 comment
Closed

Comments

@ahmogit
Copy link
Contributor

ahmogit commented Sep 1, 2020

Description:
The man page and --help blurb pertaining to -T, --tree seem to indicate that the 'column' parameter is optional, and if not supplied, it defaults to 'NAME'. This defaulting works as expected if the option is given as --tree, but does not work as expected if given as -T.

Steps to reproduce:

   $ lsblk --tree

produces the expected output, treeified on NAME.

But

    $ lsblk  -T

produces the diagnostic lsblk: option requires an argument -- 'T'

karelzak added a commit that referenced this issue Sep 2, 2020
Addresses: #1132
Signed-off-by: Karel Zak <kzak@redhat.com>
@karelzak
Copy link
Collaborator

karelzak commented Sep 2, 2020

Good catch. Thanks for your report!

Fixed now. The bugfix will be in releases v2.37 and v2.36.1.

@karelzak karelzak closed this as completed Sep 2, 2020
karelzak added a commit that referenced this issue Nov 13, 2020
Addresses: #1132
Signed-off-by: Karel Zak <kzak@redhat.com>
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

2 participants