Commit b86591a6 authored by Éric Thiébaut's avatar Éric Thiébaut
Browse files

Fix underscore instead of hyphen in command names

parent 14a7141f
......@@ -42,7 +42,7 @@ int main(
const char* progname = tao_basename(argv[0]);
tao_command command = TAO_COMMAND_NONE;
if (progname[0] == 't' && progname[1] == 'a' && progname[2] == 'o' &&
progname[3] == '-') {
progname[3] == '_') {
if (strcmp(progname + 4, "abort") == 0) {
command = TAO_COMMAND_ABORT;
} else if (strcmp(progname + 4, "reset") == 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment