[sane-devel] [PATCH 2/2] add option to bind address

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Sep 12 06:58:55 UTC 2015


Hi Matteo,

This also looks good but it is missing documentation for the option.
Both in the usage message as well as the saned manual page.

Could you fix that?

Matteo Croce writes:

> [snip]
> @@ -3288,6 +3289,9 @@ main (int argc, char *argv[])
>        run_mode = SANED_RUN_DEBUG;
>        debug = atoi(optarg);
>        break;
> +    case 'b':
> +      bind_addr = optarg;
> +      break;
>      case 'h':
>        printf ("Usage: %s [ -a [ username ] | -d [ n ] | -s [ n ] ] | -h\n", argv[0]);
>        return;

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
Support Free Software               Support the Free Software Foundation
https://my.fsf.org/donate                        https://my.fsf.org/join




More information about the sane-devel mailing list