commit | b716325521ef1229161198dcb6917b1dfc0a78cc | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Fri Dec 09 16:21:30 2011 -0800 |
committer | Gerrit <chrome-bot@google.com> | Fri Dec 09 18:05:13 2011 -0800 |
tree | c21ddf50461ec903e83960b1f81afcf1dc1c4155 | |
parent | be5f5b341ba4b85d45ffb6c0430ef5ab84c7b961 [diff] |
shill: main: Test --help flag first Handle the --help flag first, so it is dealt with (and we exit) before any thought to daemonizing or setting up logging. BUG=chromium-os:24059 TEST="shill --help" now works without "--foreground" flag Change-Id: I410145e747519d412eb211a001ff5083aa81de66 Reviewed-on: https://gerrit.chromium.org/gerrit/12715 Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Ready: Paul Stewart <pstew@chromium.org>