Bug 642442 - [RFE] Support hyphenated option variants (--ignoremonitoring vs --ignore-monitoring)
Summary: [RFE] Support hyphenated option variants (--ignoremonitoring vs --ignore-moni...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Petr Rockai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-12 22:45 UTC by Petr Rockai
Modified: 2015-09-23 12:05 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-23 12:05:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Rockai 2010-10-12 22:45:27 UTC
Hyphenated options are easier to read, so we should make them available and probably also advertise them by default. We still need to recognize the run-together versions of these options. Changes to the commandline parser infrastructure may be needed.

Comment 1 Milan Broz 2010-10-14 07:30:25 UTC
So these discussions about option naming are still ongoing?
Let's assign it to reporter which can of course fix it as well. :-]

Comment 2 Peter Rajnoha 2015-09-23 12:05:41 UTC
We have this since lvm2 v2.02.122.

LVM now removes any number of hyphens in the option name before processing it further, hence LVM always ends up looking at the option as if there were no hyphens at all.


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