getopt.3: ffix
PATCH 1/1 getopt.3: ffix
Signed-off-by Alejandro Colomar <[email protected]>
--- man3/getopt.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
man3/getopt.3 +3 -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
Signature · 1 line
2.30.1.721.g45526154a5
Hi Alex,
Quoted 1 line · Alejandro Colomar
Signed-off-by Alejandro Colomar <[email protected]>
Thanks. Patch applied.
Cheers,
Michael
Quoted 31 lines
--- man3/getopt.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)man3/getopt.3 +3
-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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/