[Bug 984901] New: Documentation bug: Manpage & help don't mention that "zypper mr -n" needs an argument (new name) before the repo identifier
http://bugzilla.opensuse.org/show_bug.cgi?id=984901 Bug ID: 984901 Summary: Documentation bug: Manpage & help don't mention that "zypper mr -n" needs an argument (new name) before the repo identifier Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: All OS: openSUSE 42.1 Status: NEW Severity: Minor Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: antoine.mechelynck@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- For other options requiring an argument, this is stated, i.e. -p --priority _positive integer_ -m --medium-type _type_ in the "modifyrepo (mr)" section of the zypper manpage, or -p --priority <integer> -m --medium-type <type> in the "zypper help mr" text. Not so for the -n --name option. So how is the new name specified? Interactively, by zypper asking you a question? No. After the repo identifier? No. Only by specifying the new name immediately after the option, before the repo (existing) name, alias, # or URL, will the desired result be obtained. This is the opposite of what happens for "zypper nr" (zypper renamerepo) where the new alias is specified after the repo's existing alias, name, # or URL. This is understandable since in "zypper nr" the alias is not an option argument but IMHO an explicit mention in the docs would be useful. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=984901
http://bugzilla.opensuse.org/show_bug.cgi?id=984901#c1
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=984901
http://bugzilla.opensuse.org/show_bug.cgi?id=984901#c2
--- Comment #2 from Tony Mechelynck
Thanks; same applies to 'modifyservice --name'.
Fixed for zypper-1.13.3 SLE-12-SP1 zypper 1.12.42 LEAP-42_1 zypper 1.12.42
FWIW, the fix hasn't yet appeared on the public 42.1 openSUSE repositories, not even on Update-Test. At the moment, the highest version with vendor openSUSE that I see is zypper-1.12.40-9.1-x86_64 on the Update-OSS repo. OT1H, I expect this to be a "no risk" change, but OTOH, there might be translations to think of, so I am not in a hurry. Just to explain why I cannot VERIFY this fix. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=984901
http://bugzilla.opensuse.org/show_bug.cgi?id=984901#c3
--- Comment #3 from Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=984901
http://bugzilla.opensuse.org/show_bug.cgi?id=984901#c5
Tony Mechelynck
http://bugzilla.opensuse.org/show_bug.cgi?id=984901
http://bugzilla.opensuse.org/show_bug.cgi?id=984901#c6
--- Comment #6 from Tony Mechelynck
participants (1)
-
bugzilla_noreply@novell.com