summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2010-03-25 00:05:37 +0100
committerEnno Boland (tox) <tox@s01.de>2010-03-25 00:05:37 +0100
commita05bcc653e3ee1ae856b3073707ffb5aec13940e (patch)
treeb88b0742ff2850963296bb890c508ceaa917c3e0 /surf.c
parent62dc599a048a773265e094c3da420d0dc91a11e9 (diff)
downloadsurf-a05bcc653e3ee1ae856b3073707ffb5aec13940e.tar.gz
surf-a05bcc653e3ee1ae856b3073707ffb5aec13940e.tar.bz2
surf-a05bcc653e3ee1ae856b3073707ffb5aec13940e.zip
updating manpage, reformating help output.
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/surf.c b/surf.c
index aa29780..a046a5a 100644
--- a/surf.c
+++ b/surf.c
@@ -837,7 +837,7 @@ updatewinid(Client *c) {
void
usage(void) {
fputs("surf - simple browser\n", stderr);
- die("usage: surf [-e Window] [-x] [-i] [-p] [-s] [uri]\n");
+ die("usage: surf [-e xid] [-i] [-p] [-s] [-v] [-x] [uri]\n");
}
void
@@ -880,9 +880,6 @@ main(int argc, char *argv[]) {
break;
}
switch(argv[i][1]) {
- case 'x':
- showxid = TRUE;
- break;
case 'e':
if(++i < argc)
embed = atoi(argv[i]);
@@ -898,6 +895,9 @@ main(int argc, char *argv[]) {
case 's':
script = 0;
break;
+ case 'x':
+ showxid = TRUE;
+ break;
case 'v':
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
default: