Bug 10072

Summary: source toaster --help returns 1
Product: [Build System, Metadata & Runtime] Toaster Reporter: brian avery <brian.avery>
Component: toasterAssignee: Randy Witt <randy.e.witt>
Status: CLOSED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Low CC: belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.2   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description brian avery 2016-08-02 23:02:03 UTC
when you call
source  toaster --help
the value of $? is 1, it should be 0.

Expected behaviour:
source toaster <noarg or badarg>
$? should be 1 and usage() should be echoed to the screen
source toaster --help
$? should be 0 and usage() should be printed to the screen