diff options
-rw-r--r-- | opt.c | 2 | ||||
-rw-r--r-- | parse.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -984,6 +984,8 @@ static struct expr *optimize_expr(struct opt_state *state, struct expr *expr) { } int optimize_cmdline(struct cmdline *cmdline) { + dump_cmdline(cmdline, DEBUG_OPT); + struct opt_facts facts_when_impure; set_facts_impossible(&facts_when_impure); @@ -3467,12 +3467,12 @@ void dump_cmdline(const struct cmdline *cmdline, enum debug_flags flag) { if (flag == DEBUG_RATES) { if (cmdline->exclude != &expr_false) { - cfprintf(cerr, "${red}-exclude${rs} %pE ", cmdline->exclude); + cfprintf(cerr, "(${red}-exclude${rs} %pE) ", cmdline->exclude); } cfprintf(cerr, "%pE", cmdline->expr); } else { if (cmdline->exclude != &expr_false) { - cfprintf(cerr, "${red}-exclude${rs} %pe ", cmdline->exclude); + cfprintf(cerr, "(${red}-exclude${rs} %pe) ", cmdline->exclude); } cfprintf(cerr, "%pe", cmdline->expr); } |