summaryrefslogtreecommitdiff
path: root/cli/cli_diff_state.cpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-10-11 17:24:47 -0700
committerJosé Fonseca <jfonseca@vmware.com>2013-10-13 11:13:16 -0700
commit4ce88b87e64c56b2638ee2b6b4785b4ed35aabd6 (patch)
treedc454ed4095351e9cb28a3f65c00860a7aafc29b /cli/cli_diff_state.cpp
parent7ec54f936be0ac8d7fade4df133c4b1009e5782a (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.cpp2
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;
}