Skip to contentSkip to conversation

getopt.3: ffix

PATCH In review Alejandro Colomar 2 participants 2 messages Feb 28, 2021 – Mar 4, 2021 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 getopt.3: ffix

---
 man3/getopt.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
man3/getopt.3 +3 -3
index d83f8693e..b628a0b4d 100644
@@ -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
#1 lore raw

Hi Alex,

Quoted 1 line · Alejandro Colomar

Thanks. Patch applied.

Cheers,

Michael

Quoted 31 lines
---
 man3/getopt.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
man3/getopt.3 +3 -3
index d83f8693e..b628a0b4d 100644
@@ -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/