| Summary: | merge urpmq options --list-media, --list-url and --dump | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Florian Hubold <doktor5000> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi | CVE: | |
| Status comment: | |||
|
Description
Florian Hubold
2012-08-12 17:33:23 CEST
Manuel Hiebel
2012-08-12 19:16:40 CEST
Source RPM:
(none) =>
urpmi First, it's not urpmi but urpmq tool.
Second these options've different purposes, different output formatting.
As for the missing "dump" option, there's no such option. There's only "--dump-config" which is documented in urpmq man page.
However, the Getopt::Long module (which is used to parse the command line) enables to use abbreviated option names:
"Without additional configuration, GetOptions() will ignore the case of option names, and allow the options to be abbreviated to uniqueness.
GetOptions ('length|height=f' => \$length, "head" => \$head);
This call will allow "--l" and "--L" for the length option, but requires a least "--hea" and "--hei" for the head and height options.Status:
NEW =>
RESOLVED |