.RB [-r\ scriptfile]
.RB [-s]
.RB [-t\ stylefile]
+.RB [-u\ useragent]
.RB [-v]
.RB [-x]
.RB "URI"
.B \-t stylefile
Specify the user stylefile.
.TP
+.B \-u useragent
+Specify the user stylefile.
+.TP
.B \-v
Prints version information to standard output, then exits.
.TP
usage(void) {
fputs("surf - simple browser\n", stderr);
die("usage: surf [-c cookiefile] [-e xid] [-i] [-p] [-r scriptfile]"
- " [-s] [-t stylefile] [-v] [-x] [uri]\n");
+ " [-s] [-t stylefile] [-u useragent] [-v] [-x] [uri]\n");
}
void
case 't':
stylefile = EARGF(usage());
break;
+ case 'u':
+ useragent = EARGF(usage());
+ break;
case 'x':
showxid = TRUE;
break;