aboutsummaryrefslogtreecommitdiff
path: root/tests/open_pack.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-03-18 14:04:19 +1100
committerJon Loeliger <jdl@loeliger.com>2008-03-23 08:00:33 -0500
commit1577696b6d09acafa055957ecc6071b305d6fe9d (patch)
treeabbac7302ca86ae19113422acce646d6e785664d /tests/open_pack.c
parent2192d46dfdbb05cea13c853f7579b1386cdc4380 (diff)
downloaddtc-1577696b6d09acafa055957ecc6071b305d6fe9d.zip
dtc-1577696b6d09acafa055957ecc6071b305d6fe9d.tar.gz
dtc-1577696b6d09acafa055957ecc6071b305d6fe9d.tar.bz2
dtc: Change exit code for usage message
If dtc's command line arguments are invalid, it prints a usage message and returns exit code 2. That's the same exit code as for a failed check, which is potentially confusing if running dtc from an automated harness. Therefore this patch changes the usage exit code to 3. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/open_pack.c')
0 files changed, 0 insertions, 0 deletions