Fix forgotten options in surf.1

This commit is contained in:
Quentin Rameau 2017-05-01 01:08:27 +02:00
parent edddfbc14a
commit 0df9f79d95
2 changed files with 5 additions and 9 deletions

12
surf.1
View file

@ -3,7 +3,7 @@
surf \- simple webkit-based browser surf \- simple webkit-based browser
.SH SYNOPSIS .SH SYNOPSIS
.B surf .B surf
.RB [-bBdDfFgGiIkKmMnNpPsStTvx] .RB [-bBdDfFgGiIkKmMnNpPsStTvwxX]
.RB [-a\ cookiepolicies] .RB [-a\ cookiepolicies]
.RB [-c\ cookiefile] .RB [-c\ cookiefile]
.RB [-C\ stylefile] .RB [-C\ stylefile]
@ -11,7 +11,7 @@ surf \- simple webkit-based browser
.RB [-r\ scriptfile] .RB [-r\ scriptfile]
.RB [-u\ useragent] .RB [-u\ useragent]
.RB [-z\ zoomlevel] .RB [-z\ zoomlevel]
.RB "URI" .RB [URI]
.SH DESCRIPTION .SH DESCRIPTION
surf is a simple Web browser based on WebKit/GTK+. It is able surf is a simple Web browser based on WebKit/GTK+. It is able
to display websites and follow links. It supports the XEmbed protocol 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 .B \-a cookiepolicies
Define the order of Define the order of
.I cookie policies. .I cookie policies.
The default is "Aa@" but could be The default is "@Aa" but could be
redefined in the redefined in the
.I config.h, .I config.h,
with "A" meaning to with "A" meaning to
@ -136,7 +136,6 @@ Enable custom certificates.
Specify the Specify the
.I zoomlevel .I zoomlevel
which surf should use. which surf should use.
.BR xprop(1).
.SH USAGE .SH USAGE
.B Escape .B Escape
Stops loading current page or stops download. Stops loading current page or stops download.
@ -201,10 +200,7 @@ Reloads the website without using the cache.
.B Ctrl\-y .B Ctrl\-y
Copies current URI to primary selection. Copies current URI to primary selection.
.TP .TP
.B Ctrl\-o .B Ctrl\-Shift\-x
Show the sourcecode of the current page.
.TP
.B Ctrl\-x
Display the current TLS certificate in a popup window. Display the current TLS certificate in a popup window.
.TP .TP
.B Ctrl\-Shift\-a .B Ctrl\-Shift\-a

2
surf.c
View file

@ -256,7 +256,7 @@ char *argv0;
void void
usage(void) usage(void)
{ {
die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvx] [-a cookiepolicies ] " die("usage: %s [-bBdDfFgGiIkKmMnNpPsStTvwxX] [-a cookiepolicies ] "
"[-c cookiefile] [-C stylefile] [-e xid] [-r scriptfile] " "[-c cookiefile] [-C stylefile] [-e xid] [-r scriptfile] "
"[-u useragent] [-z zoomlevel] [uri]\n", basename(argv0)); "[-u useragent] [-z zoomlevel] [uri]\n", basename(argv0));
} }