diff options
| author | Patrick Venture <venture@google.com> | 2019-03-12 16:06:22 -0700 |
|---|---|---|
| committer | Patrick Venture <venture@google.com> | 2019-03-21 17:41:12 +0000 |
| commit | 2e476ac3563776b5320cf33f8fe05c5ac539c3a6 (patch) | |
| tree | c4182d6033a0c9e8e8252fa69c7a05bca93ef20f | |
| parent | 17cfad6ce0a217697703d0b9c40bdc3ebd3f1b43 (diff) | |
| download | phosphor-hwmon-2e476ac3563776b5320cf33f8fe05c5ac539c3a6.tar.gz phosphor-hwmon-2e476ac3563776b5320cf33f8fe05c5ac539c3a6.zip | |
flip error and help message on failure
Flip the error and help message on failure.
Change-Id: Ib75d6df87a37411edd7283fdf7785e8d56e417ea
Signed-off-by: Patrick Venture <venture@google.com>
| -rw-r--r-- | readd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -24,8 +24,7 @@ static void exit_with_error(const std::string& help, const char* err) { - std::cerr << help << std::endl; - std::cerr << "ERROR: " << err << std::endl; + std::cerr << "ERROR: " << err << std::endl << help << std::endl; exit(-1); } |

