Mailinglist Archive: opensuse-bugs (14006 mails)
| < Previous | Next > |
[Bug 383577] zypper help misses options (rug options)
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Sat, 26 Apr 2008 12:24:26 -0600 (MDT)
- Message-id: <20080426182426.B414ACC7B1@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=383577
User jkupec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=383577#c5
Ján Kupec <jkupec@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider|
|volker3204@xxxxxxxxxxxxxxx
Summary|zypper help misses options |zypper
help misses options (rug options)
--- Comment #5 from Ján Kupec <jkupec@xxxxxxxxxx> 2008-04-26 12:24:26 MST ---
(In reply to comment #4 from Volker Kuhlmann)
It does apply here. -y is an old-fashioned option and is supported only for
compatibility with rug. If we were to show all such options in the help texts
and in the main man page command descriptions, it would be quite a mess.
Instead, we show them only in the COMPATIBILITY WITH RUG section.
Zypper could just say -y is an unknown option unless --rug-compatible global
option is used, but that would probably be too annoying to users who are used
to rug.
Do you have a suggestion what should be changed in this regard? Of course,
these rug options should not be presented on wikies or elsewhere, but we can't
watch that :(
That sounds reasonable, thanx.
I've changed the text to:
zypper provides a number of commands. Each command accepts the options listed
in the GLOBAL OPTIONS section. These options must be specified before the
command name. In addition, many commands have specific options, which are
listed in this section. These command-specific options must be specified after
the name of the command and before any of the command arguments.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User jkupec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=383577#c5
Ján Kupec <jkupec@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
Info Provider|
|volker3204@xxxxxxxxxxxxxxx
Summary|zypper help misses options |zypper
help misses options (rug options)
--- Comment #5 from Ján Kupec <jkupec@xxxxxxxxxx> 2008-04-26 12:24:26 MST ---
(In reply to comment #4 from Volker Kuhlmann)
I am referring to http://en.opensuse.org/Bugs:Most_Annoying_Bugs_11.0_dev
which
gives
... zypper in -y -f -n $i; ...
and I wanted to now what the options do. (Again) I got confused between global
and local options. As the command above works, -y is not documented in zypper
help or zypper help in, nor is it in man zypper under install (it is under rug
commands, though, but that doesn't apply here).
It does apply here. -y is an old-fashioned option and is supported only for
compatibility with rug. If we were to show all such options in the help texts
and in the main man page command descriptions, it would be quite a mess.
Instead, we show them only in the COMPATIBILITY WITH RUG section.
Zypper could just say -y is an unknown option unless --rug-compatible global
option is used, but that would probably be too annoying to users who are used
to rug.
Do you have a suggestion what should be changed in this regard? Of course,
these rug options should not be presented on wikies or elsewhere, but we can't
watch that :(
-m -a are documented under zypper help clean, my fault.
man zypper:
Each command accepts the options listed in the GLOBAL OPTIONS section. In
addition, many commands have specific options, which are listed in this
section.
Also, "each command accepts global options" makes me think I can put global
options either before or after the command, making me wonder what happens in
this case:
zypper -n in
zypper in -n
zypper -n in -n
Rephrase to "global options can be used before any command"?
That sounds reasonable, thanx.
I've changed the text to:
zypper provides a number of commands. Each command accepts the options listed
in the GLOBAL OPTIONS section. These options must be specified before the
command name. In addition, many commands have specific options, which are
listed in this section. These command-specific options must be specified after
the name of the command and before any of the command arguments.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |