3 .ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
4 .if !
\a\\$4
\a\a .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
7 .ie
\a\\$3
\a\a .ft \\$1
11 .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
16 .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
19 .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
22 .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
24 .de EX \" start example
41 optget \- option parse assist
52 unsigned long version;
60 void optinit(Optdisc_t* \fIdisc\fP, Error_f \fIerrorf\fP);
61 int optget(char** \fIargv\fP, const char* \fIusage\fP);
62 int optstr(const char* \fIstring\fP, const char* \fIusage\fP);
63 int optjoin(char** \fIargv\fP, ... [int (*\fIoptfun\fP)(char** \fIargv\fP, int \fIlast\fP)]);
64 char* optusage(const char* \fIopts\fP);
65 int optesc(Sfio_t* \fIsp\fP, const char* \fIstring\fP, int \fIflags\fP);