Re: [PATCH] getopt.3: ffix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

On 2/28/21 1:50 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man3/getopt.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/getopt.3 b/man3/getopt.3
> index d83f8693e..b628a0b4d 100644
> --- a/man3/getopt.3
> +++ b/man3/getopt.3
> @@ -47,7 +47,7 @@ optarg, optind, opterr, optopt \- Parse command-line options
>  .nf
>  .B #include <unistd.h>
>  .PP
> -.BI "int getopt(int " argc ", char * const " argv[] ,
> +.BI "int getopt(int " argc ", char *const " argv [],
>  .BI "           const char *" optstring );
>  .PP
>  .BI "extern char *" optarg ;
> @@ -55,10 +55,10 @@ optarg, optind, opterr, optopt \- Parse command-line options
>  .PP
>  .B #include <getopt.h>
>  .PP
> -.BI "int getopt_long(int " argc ", char * const " argv[] ,
> +.BI "int getopt_long(int " argc ", char *const " argv [],
>  .BI "           const char *" optstring ,
>  .BI "           const struct option *" longopts ", int *" longindex );
> -.BI "int getopt_long_only(int " argc ", char * const " argv[] ,
> +.BI "int getopt_long_only(int " argc ", char *const " argv [],
>  .BI "           const char *" optstring ,
>  .BI "           const struct option *" longopts ", int *" longindex );
>  .fi
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux