updating manpage, reformating help output.

This commit is contained in:
Enno Boland (tox)
2010-03-25 00:05:37 +01:00
parent 62dc599a04
commit a05bcc653e
2 changed files with 19 additions and 9 deletions
+4 -4
View File
@@ -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: