diff options
| -rw-r--r-- | src/main-cmdlinexact.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp index 3dc83bc8f..f29d22377 100644 --- a/src/main-cmdlinexact.cpp +++ b/src/main-cmdlinexact.cpp @@ -316,8 +316,8 @@ typedef std::list<verb_info_t> verbs_list_t; void CmdLineXAction::createActionsFromYAML( gchar const *yaml_filename ) { #ifndef WITH_YAML - return; -#else // WITH_YAML + return; +#else // WITH_YAML FILE *fh = fopen(yaml_filename, "r"); if(fh == NULL) { printf("Failed to open file!\n"); @@ -527,7 +527,7 @@ CmdLineXAction::createActionsFromYAML( gchar const *yaml_filename ) { { ++undo_counter; new CmdLineAction(true, verb.args[0].c_str()); - } + } else { printf("Unhadled xverb %s\n", verb.args[0].c_str()); fflush(stdout); |
