diff options
author | José Fonseca <jfonseca@vmware.com> | 2013-10-11 17:24:47 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-10-13 11:13:16 -0700 |
commit | 4ce88b87e64c56b2638ee2b6b4785b4ed35aabd6 (patch) | |
tree | dc454ed4095351e9cb28a3f65c00860a7aafc29b /cli/cli_diff_state.cpp | |
parent | 7ec54f936be0ac8d7fade4df133c4b1009e5782a (diff) |
cli: Fix invalid option message.
ascii code was being printed.
Diffstat (limited to 'cli/cli_diff_state.cpp')
-rw-r--r-- | cli/cli_diff_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cli_diff_state.cpp b/cli/cli_diff_state.cpp index 341d244f..a802b12a 100644 --- a/cli/cli_diff_state.cpp +++ b/cli/cli_diff_state.cpp @@ -66,7 +66,7 @@ command(int argc, char *argv[]) usage(); return 0; default: - std::cerr << "error: unexpected option `" << opt << "`\n"; + std::cerr << "error: unexpected option `" << (char)opt << "`\n"; usage(); return 1; } |