'zfs holds -H' does not properly output content in scripted mode. It uses a tab 
instead of two spaces, but it still pads column widths with spaces when it 
should not.

Before:
 $ /sbin/zfs holds -Hp zstore/svn/base@r325191
zstore/svn/base@r325191 testing                         1509498917
zstore/svn/base@r325191 testing_long_tag_name_here      1509499027

After:
 $ ./zfs holds -Hp zstore/svn/base@r325191
zstore/svn/base@r325191 testing 1509498917
zstore/svn/base@r325191 testing_long_tag_name_here      1509499027

You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/488

-- Commit Summary --

  * zfs holds: In scripted mode, do not pad columns with spaces

-- File Changes --

    M usr/src/cmd/zfs/zfs_main.c (9)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/488.patch
https://github.com/openzfs/openzfs/pull/488.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/488

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Tb89fa1a435032eb4-M296c78453e6a25a6af3d2c44
Powered by Topicbox: https://topicbox.com

Reply via email to