X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/ff76c38f2d94c82b234d67e717d855b52e5d6421..36b6fecc4670f4d351cd662a6772a5a196108ceb:/man/mdwopt.3 diff --git a/man/mdwopt.3 b/man/mdwopt.3 index 6045fed..832f934 100644 --- a/man/mdwopt.3 +++ b/man/mdwopt.3 @@ -1,5 +1,5 @@ .\" -*-nroff-*- -.TH mdwopt 3 "6 July 1999" mLib +.TH mdwopt 3 "6 July 1999" "Straylight/Edgeware" "mLib utilities library" .SH "NAME" mdwopt \- command-line option parser .\" @mdwopt @@ -46,7 +46,7 @@ a is considered to be a non-option, since it usually represents standard input or output as a filename, and the word containing only a double-dash -.RB ` \-\-' +.RB ` \-\- ' is used to mark all following words as being non-options regardless of their initial character. .PP @@ -68,7 +68,7 @@ are a GNU convention. .SS "Short option syntax" Short options are the sort which Unix has known for ages: an option is a single letter, preceded by a -.RB ` \-| '. +.RB ` \- '. Short options can be joined together to save space (and possibly to make silly words): e.g., instead of giving options .RB ` "\-x \-y" ', @@ -173,7 +173,7 @@ the .B err and .B ind -members of the structure must be initialized +members of the structure must be initialized. .PP The arguments .I argc @@ -328,8 +328,9 @@ is returned by possibly with bit 8 set if the option was negated. .PP -Arguments for long options are stored in the +Arguments from long options are stored in the .B arg +member of the data block. .SS "Other optional features" The .I flags @@ -429,4 +430,4 @@ function. .BR getopt (3), .BR mLib (3). .SH "AUTHOR" -Mark Wooding, +Mark Wooding,