Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45946 - Genkernel proceeds with mistyped options
Summary: Genkernel proceeds with mistyped options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-27 21:07 UTC by Jeff
Modified: 2004-04-11 07:51 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 Jeff 2004-03-27 21:07:47 UTC
genkernel should quit on mistyped options:
I typed 
"genkernel --noclean all" and it ran mrproper, nuking all by previous object files.  Of course, I should have typed:
"genkernel --no-clean all".  But one missed dash should not screw me.  I tested this (on the latest emerged genkernel) with:
genkernel --foobar all
and it ran with default options!   I think it is reasonable for genkernel to quit with an error if there is a mistyped option.  If I type an option, I type it because I want genkernel to use it.  Thank you. (Gentoo is great.)

Reproducible: Always
Steps to Reproduce:
1. Type "genkernel --whoops-I-mistyped-my-option"
2.
3.
Actual Results:  
genkernel runs anyway, using default options instead of the ones you meant to type.

Expected Results:  
genkernel should print an error and quit when there is an unrecognized option,
to let me type it correctly and get genkernel to do what I want.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-04-11 07:51:46 UTC
Fixed in Genkernel 3.0.2a. Thanks!