Alan McKinnon wrote:
On Tuesday 02 September 2008 09:28:41 Dale wrote:
[EMAIL PROTECTED] / # revdep-rebuild -i --ask <<<<<<--------- I entered
this <<<------
Encountered unrecognized option --ask. <<<<<------ It said this
<<<<------
revdep-rebuild no longer automatically passes unrecognized options to
portage.
Separate emerge-only options from revdep-rebuild options with the --
flag.
For example, revdep-rebuild -v -- --ask
^^^^^^^^^^^^^^^^^^^^^^^^^^
You missed this bit. It's working as designed.
Command line parsers are written this way to avoid option conflicts. If
revdep-rebuild and emerge both have -a options, which one should be used?
Logic says it should be revdep-rebuild gets the -a option but what if you
do want to pass it to emerge? That's why there's a "--" and why you have
to use it
I saw that but look at what I entered. I did enter --ask or am I still
missing something? My command was 'revdep-rebuild -i --ask'. What
should the command be for it to ask whether to update or not and pass it
on to emerge?
You said this:
revdep-rebuild -i --ask
revdep-rebuild doesn't have an -a option so you get an error just like every
other time you use wrong options with commands. You should have said this
revdep-rebuild -i -- -ask
^^
NB!!
Which is what the output was telling you all along. Previously you didn't need
the "--", but that leads to all manner of horrible screw-ups
Aaaaa, I gotcha. Keep in mind I'm not a programmer here. Not real sure
what the -- means either but as long as it works. Wooooo Oooooooo !!
Dale
:-) :-)