Bug 10072 - source toaster --help returns 1
Summary: source toaster --help returns 1
Status: CLOSED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Low normal
Target Milestone: ---
Assignee: Randy Witt
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-02 23:02 UTC by brian avery
Modified: 2016-08-16 21:28 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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