Move -t stylefile flag to -C stylefile

This commit is contained in:
Quentin Rameau 2017-04-19 18:14:56 +02:00
parent ee854bb095
commit a981959124
2 changed files with 9 additions and 9 deletions

12
surf.1
View File

@ -6,9 +6,9 @@ surf \- simple webkit-based browser
.RB [-bBdDfFgGiIkKmMnNpPsSvx] .RB [-bBdDfFgGiIkKmMnNpPsSvx]
.RB [-a\ cookiepolicies] .RB [-a\ cookiepolicies]
.RB [-c\ cookiefile] .RB [-c\ cookiefile]
.RB [-C\ stylefile]
.RB [-e\ xid] .RB [-e\ xid]
.RB [-r\ scriptfile] .RB [-r\ scriptfile]
.RB [-t\ stylefile]
.RB [-u\ useragent] .RB [-u\ useragent]
.RB [-z\ zoomlevel] .RB [-z\ zoomlevel]
.RB "URI" .RB "URI"
@ -40,6 +40,11 @@ Specify the
.I cookiefile .I cookiefile
to use. to use.
.TP .TP
.B \-C stylefile
Specify the user
.I stylefile.
This does disable the site-specific styles.
.TP
.B \-d .B \-d
Disable the disk cache. Disable the disk cache.
.TP .TP
@ -102,11 +107,6 @@ Disable Javascript
.B \-S .B \-S
Enable Javascript Enable Javascript
.TP .TP
.B \-t stylefile
Specify the user
.I stylefile.
This does disable the site-specific styles.
.TP
.B \-u useragent .B \-u useragent
Specify the Specify the
.I useragent .I useragent

6
surf.c
View File

@ -1679,6 +1679,9 @@ main(int argc, char *argv[])
case 'c': case 'c':
cookiefile = EARGF(usage()); cookiefile = EARGF(usage());
break; break;
case 'C':
stylefile = EARGF(usage());
break;
case 'd': case 'd':
defconfig CSETB(DiskCache, 0); defconfig CSETB(DiskCache, 0);
break; break;
@ -1739,9 +1742,6 @@ main(int argc, char *argv[])
case 'S': case 'S':
defconfig CSETB(JavaScript, 1); defconfig CSETB(JavaScript, 1);
break; break;
case 't':
stylefile = EARGF(usage());
break;
case 'u': case 'u':
fulluseragent = EARGF(usage()); fulluseragent = EARGF(usage());
break; break;