summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 3b291b5..07c689e 100644
--- a/surf.c
+++ b/surf.c
@@ -919,7 +919,7 @@ void
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
@@ -967,6 +967,9 @@ main(int argc, char *argv[]) {
case 't':
stylefile = EARGF(usage());
break;
+ case 'u':
+ useragent = EARGF(usage());
+ break;
case 'x':
showxid = TRUE;
break;