Bug 1210619 - [RFE] Add support for "<lvm reporting command> -o help <field_name>" to display more details about the field and its values
Summary: [RFE] Add support for "<lvm reporting command> -o help <field_name>" to displ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Rajnoha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-10 08:31 UTC by Peter Rajnoha
Modified: 2023-08-02 02:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Rajnoha 2015-04-10 08:31:27 UTC
Enhance help for each reporting field so that users can check valid values for each field easily by using "-o help <field_name>". Such field-specific help would include brief description of the field (we actually have this in the "-o help" already more or less) and stating possible valid value ranges this field can display, including undefined values and any synonyms which are recognized for -S|--select criteria.

For example:

  lvs -o help lv_role

...would display all possible LV roles. This way, users know what values they can expect and they can add proper checks in their scripts.

Comment 1 Peter Rajnoha 2015-04-10 08:52:50 UTC
Also, while in this area, try making it easier for people to search for fields since we have lots of them now and they didn't even fit into one usual screen (80 lines) anymore (currently there are 191 lines printed so it scrolls most of the time).

So try adding support for wildcards like "-o help cache_*", also searching through substrings (both in field names and descriptions) or any other improvements that may help users to navigate through the list of fields which LVM can report.


Note You need to log in before you can comment on or make changes to this bug.