Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Add shortcut out of calling print_help_text #876
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Dec 7, 2017
1 parent ee43970 commit a521992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/eosc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ int main( int argc, char** argv ) {
}
} else {
// attempt to extract the error code if one is present
if (!print_help_text(e) || verbose_errors) {
if (verbose_errors || !print_help_text(e)) {
elog("Failed with error: ${e}", ("e", verbose_errors ? e.to_detail_string() : e.to_string()));
}
}
Expand Down

0 comments on commit a521992

Please sign in to comment.