Re: [PATCH 07/22] perf daemon: Add daemon command

From: Namhyung Kim
Date: Wed Jan 27 2021 - 02:16:34 EST


Hi Jiri,

On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> +int cmd_daemon(int argc, const char **argv)
> +{
> + struct option daemon_options[] = {
> + OPT_INCR('v', "verbose", &verbose, "be more verbose"),
> + OPT_STRING(0, "config", &__daemon.config,
> + "config file", "config file path"),
> + OPT_STRING_OPTARG('x', "field-separator", &__daemon.csv_sep,
> + "field separator", "print counts with custom separator", ":"),

Oh, I didn't expect it's optional and default to ":" instead of ",".

Thanks,
Namhyung


> + OPT_END()
> + };