Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 760126

Summary: sys-apps/portage: CLI parser does not handle shorthand '--job' correctly
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-16 08:25:13 UTC
'--jobs' and abbreviations such as '--job' should work the same.  However, they do not:

$ emerge --jobs foo
(works)

$ emerge --job foo
[...]
emerge: error: Invalid --jobs parameter: 'foo'

$ emerge foo --jobs
(works)

$ emerge foo --job
[...]
emerge: error: argument --jobs/-j: expected one argument