On Tue, Aug 18, 2020 at 02:19:35AM +0300, Vladimir Oltean wrote:
> @@ -153,7 +352,7 @@ int main(int argc, char *argv[])
>       /* Process the command line arguments. */
>       progname = strrchr(argv[0], '/');
>       progname = progname ? 1 + progname : argv[0];
> -     while (EOF != (c = getopt_long(argc, argv, "c:f:hi:l:mqs:v", opts, 
> &index))) {
> +     while (EOF != (c = getopt_long(argc, argv, "ac:f:hi:l:mqs:v", opts, 
> &index))) {
>               switch (c) {
>               case 0:
>                       if (config_parse_option(cfg, opts[index].name, optarg)) 
> {
> @@ -161,6 +360,9 @@ int main(int argc, char *argv[])
>                               return -1;
>                       }
>                       break;
> +             case 'a':
> +                     autocfg = 1;
> +                     break;

Needs documentation in the usage() message and on the man page.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to