Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410923 - sys-kernel/module-rebuild - command line options are consistent (should be "module-rebuild --action")
Summary: sys-kernel/module-rebuild - command line options are consistent (should be "m...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Kernel Miscellaneous
Whiteboard: This package has been treecleaned, se...
Depends on: 410739
  Show dependency tree
Reported: 2012-04-05 17:33 UTC by Andreas Thalhammer
Modified: 2014-02-03 11:20 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Thalhammer 2012-04-05 17:33:50 UTC
module-rebuild [options] action [category/package]
Version: 0.5

Where options are:
        -X       - Emerge based on package names,
                   not exact versions.
        -C       - Disable all coloured output.

Where action is one of:
        add      - Add package to moduledb.
        del      - Delete a package from moduledb.
        toggle   - Toggle auto-rebuild of Package.
        list     - List packages to auto-rebuild.
        rebuild  - Rebuild packages.
        populate - Populate the database with any
                   packages which currently install
                   drivers into the running kernel.

These options are inconsistent with the ones used by all other gentoo/genkernel/portage stuff.

A while ago, portage changed from
  # emerge unmerge <ebuild>
  # emerge --unmerge <ebuild>
for consistency.

My request is to have the same consistency for module-rebuild... for one simple reason: I always write
  # module-rebuild --rebuild
followed by me shouting "S*1T!" (which is bad if my kids are around!), followed by
  # module-rebuild rebuild
(which always makes me whish for one consistent way for these options/actions/... whatever you call it).

It really should be "module-rebuild --action".

As I'm not really qualified to change this myself, so I RQ this here. Thanks.