Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189869 - emerge portage with outdated /etc files gives outdated instructions for emerge --help config
Summary: emerge portage with outdated /etc files gives outdated instructions for emerg...
Status: RESOLVED DUPLICATE of bug 137483
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-22 19:23 UTC by Richard Lynch
Modified: 2007-08-22 19:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Lynch 2007-08-22 19:23:12 UTC
At the end of emerge portage, if any /etc files are outdated (very common) one is told to do:
emerge --help config
to get help on finding the outdated /etc files.

emerge --help config no longer produces the output it once did, either by Design or by Bug.


Reproducible: Always

Steps to Reproduce:
emerge portage
emerge --help config

Actual Results:  
>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
 * IMPORTANT: 3 config files in '/etc' need updating.
 * Type emerge --help config to learn how to update config files.
localhost portage # emerge --help config
*** Deprecated use of action 'config', use '--config' instead
localhost portage # emerge --help --config
localhost portage # emerge --help-config
usage: emerge [options]

emerge: error: no such option: --help-config
localhost portage # emerge --help_config
usage: emerge [options]

emerge: error: no such option: --help_config
localhost portage # emerge --config
!!! config can only take a single package atom at this time

localhost portage # emerge --help
emerge: the other white meat (command-line interface to the Portage system)
Usage:
   emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ system | world | --sync ]
Options: -[abBcCdDefgGhikKlnNoOpqPsStuvV] [--oneshot] [--newuse] [--noconfmem]
                                          [ --color < y | n >  ] [ --columns ]
                                                                 [--nospinner]
                                          [ --deep  ] [--with-bdeps < y | n > ]
Actions: [ --clean | --depclean | --prune | --regen | --search | --unmerge ]

   For more help try 'emerge --help --verbose' or consult the man page.
localhost portage # emerge --help config
*** Deprecated use of action 'config', use '--config' instead


Expected Results:  
Something about find /etc and .cfg or somesuch.

I can always find the dang things once I find a sample, but always forget what they look like...


I liked it better when it told me how to find the dang things, personally, even if it's an extra line of useless output (among millions) to uber-geeks.
Comment 1 Richard Lynch 2007-08-22 19:27:29 UTC
I lied.

I can NOT find the altered /etc files.

Did you guys do something silly like make them foo.conf.0 or something I'm NOT going to be able to find easily?!

If so:
Yuk...

Please, reconsider this decision, or at least update the emerge --help config to do something useful so I can find the dang things.
Comment 2 Zac Medico gentoo-dev 2007-08-22 19:31:36 UTC
It's been moved to `man emerge`. You got the old message because it was an older version of portage that performed the upgrade.  The new version has a different message.

*** This bug has been marked as a duplicate of bug 137483 ***