vaeth / eix

eix can access Gentoo portage ebuild information and description very quickly (using a local cache). It can also be used to access information on installed packages, local settings, and local and external overlays, and informs about changes in the tree
GNU General Public License v2.0
163 stars 12 forks source link

eix doesn't check cli options' arguments #108

Open kuraga opened 1 year ago

kuraga commented 1 year ago

eix --color bar python

Expected: an error.

Actual: the same as eix --color no python.

vaeth commented 1 year ago

Actually, it should be the same as eix --color yes python: If it doesn't look like "no" (starts with n, f, 0, of), it should be considered a "yes".