perf report: Don't allow empty argument for '-t'.
[deliverable/linux.git] / tools / perf / builtin-report.c
index 52f74e1367e9c041020ce54f34beba07a56b3453..0ae482689e3c48b6e38964d819ddcb2fa49c8c56 100644 (file)
@@ -676,7 +676,7 @@ int cmd_report(int argc, const char **argv, const char *prefix __maybe_unused)
        OPT_STRING('w', "column-widths", &symbol_conf.col_width_list_str,
                   "width[,width...]",
                   "don't try to adjust column width, use these fixed values"),
-       OPT_STRING('t', "field-separator", &symbol_conf.field_sep, "separator",
+       OPT_STRING_NOEMPTY('t', "field-separator", &symbol_conf.field_sep, "separator",
                   "separator for columns, no spaces will be added between "
                   "columns '.' is reserved."),
        OPT_BOOLEAN('U', "hide-unresolved", &report.hide_unresolved,
This page took 0.024459 seconds and 5 git commands to generate.