pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
62dc599
)
updating manpage, reformating help output.
author
Enno Boland (tox)
<tox@s01.de>
Wed, 24 Mar 2010 23:05:37 +0000
(
00:05
+0100)
committer
Enno Boland (tox)
<tox@s01.de>
Wed, 24 Mar 2010 23:05:37 +0000
(
00:05
+0100)
surf.1
patch
|
blob
|
history
surf.c
patch
|
blob
|
history
diff --git
a/surf.1
b/surf.1
index
11c1292
..
f66913b
100644
(file)
--- a/
surf.1
+++ b/
surf.1
@@
-3,8
+3,12
@@
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
-.RB [ \-hvx ]
-.RB [ \-e xid ]
+.RB [-e\ xid]
+.RB [-i]
+.RB [-p]
+.RB [-s]
+.RB [-v]
+.RB [-x]
.RB "URI"
.SH DESCRIPTION
surf is a simple Web browser based on WebKit/GTK+. It is able
.RB "URI"
.SH DESCRIPTION
surf is a simple Web browser based on WebKit/GTK+. It is able
@@
-14,10
+18,16
@@
one can point surf to another URI by setting its XProperties.
.SH OPTIONS
.TP
.B \-e xid
.SH OPTIONS
.TP
.B \-e xid
-
r
eparents to window specified by xid.
+
R
eparents to window specified by xid.
.TP
.TP
-.B \-h
-Prints usage information to standard output, then exits.
+.B \-i
+Disable Images
+.TP
+.B \-p
+Disable Plugins
+.TP
+.B \-s
+Disable Javascript
.TP
.B \-v
Prints version information to standard output, then exits.
.TP
.B \-v
Prints version information to standard output, then exits.
diff --git
a/surf.c
b/surf.c
index
aa29780
..
a046a5a
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-837,7
+837,7
@@
updatewinid(Client *c) {
void
usage(void) {
fputs("surf - simple browser\n", stderr);
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
}
void
@@
-880,9
+880,6
@@
main(int argc, char *argv[]) {
break;
}
switch(argv[i][1]) {
break;
}
switch(argv[i][1]) {
- case 'x':
- showxid = TRUE;
- break;
case 'e':
if(++i < argc)
embed = atoi(argv[i]);
case 'e':
if(++i < argc)
embed = atoi(argv[i]);
@@
-898,6
+895,9
@@
main(int argc, char *argv[]) {
case 's':
script = 0;
break;
case 's':
script = 0;
break;
+ case 'x':
+ showxid = TRUE;
+ break;
case 'v':
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
default:
case 'v':
die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
default: