Whamcloud - gitweb
LU-18079 utils: argument parse opts for lfs quota
Adding new options to only get certain arguments from 'lfs quota'.
This works much like 'lfs getstripe'. Each option will show their
respected argument and can be combined together to show multiple
arguments. They will be shown in the same order that they appear
in the full table for 'lfs quota'.
Added:
--filesystem|--mount-point
--blocks|--space|--busage
--block-softlimit|--bsoftlimit
--block-hardlimit|--bhardlimit
--block-grace|--bgrace|--btime
--inodes|--iusage
--inode-softlimit|--isoftlimit
--inode-hardlimit|--ihardlimit
--inode-grace|--igrace|--itime
each matching a column of the table.
Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: Iffb9be9a55368a3faad3a8e74ee2f2a6b1ec7301
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55894
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>