summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-01 01:08:27 +0200
committerQuentin Rameau <quinq@fifth.space>2017-05-01 01:08:27 +0200
commit0df9f79d9536acc4627ebd726b62de7ba4c3070e (patch)
tree34c57753ad2a91c96d67ed61602f9f2a883a464e
parentedddfbc14ac3a4413f38171e8fd7767ae56e27bf (diff)
downloadsurf-0df9f79d9536acc4627ebd726b62de7ba4c3070e.tar.gz
surf-0df9f79d9536acc4627ebd726b62de7ba4c3070e.tar.bz2
surf-0df9f79d9536acc4627ebd726b62de7ba4c3070e.zip
Fix forgotten options in surf.1
-rw-r--r--surf.112
-rw-r--r--surf.c2
2 files changed, 5 insertions, 9 deletions
diff --git a/surf.1 b/surf.1
index fe149ba..8909968 100644
--- a/surf.1
+++ b/surf.1
@@ -3,7 +3,7 @@
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
-.RB [-bBdDfFgGiIkKmMnNpPsStTvx]
+.RB [-bBdDfFgGiIkKmMnNpPsStTvwxX]
.RB [-a\ cookiepolicies]
.RB [-c\ cookiefile]
.RB [-C\ stylefile]
@@ -11,7 +11,7 @@ surf \- simple webkit-based browser
.RB [-r\ scriptfile]
.RB [-u\ useragent]
.RB [-z\ zoomlevel]
-.RB "URI"
+.RB [URI]
.SH DESCRIPTION
surf is a simple Web browser based on WebKit/GTK+. It is able
to display websites and follow links. It supports the XEmbed protocol
@@ -22,7 +22,7 @@ one can point surf to another URI by setting its XProperties.
.B \-a cookiepolicies
Define the order of
.I cookie policies.
-The default is "Aa@" but could be
+The default is "@Aa" but could be
redefined in the
.I config.h,
with "A" meaning to
@@ -136,7 +136,6 @@ Enable custom certificates.
Specify the
.I zoomlevel
which surf should use.
-.BR xprop(1).
.SH USAGE
.B Escape
Stops loading current page or stops download.
@@ -201,10 +200,7 @@ Reloads the website without using the cache.
.B Ctrl\-y
Copies current URI to primary selection.
.TP
-.B Ctrl\-o
-Show the sourcecode of the current page.
-.TP
-.B Ctrl\-x
+.B Ctrl\-Shift\-x
Display the current TLS certificate in a popup window.
.TP
.B Ctrl\-Shift\-a
diff --git a/surf.c b/surf.c
index 785fa0d..8ecf0f5 100644
--- a/surf.c
+++ b/surf.c
@@ -256,7 +256,7 @@ char *argv0;
void
usage(void)
{
- die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvx] [-a cookiepolicies ] "
+ die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvwxX] [-a cookiepolicies ] "
"[-c cookiefile] [-C stylefile] [-e xid] [-r scriptfile] "
"[-u useragent] [-z zoomlevel] [uri]\n", basename(argv0));
}