| Move -t stylefile flag to -C stylefile - surf - surf browser, a WebKit based br… | |
| git clone git://git.suckless.org/surf | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit a9819591242a070a24b458900b6f90b6056ba90a | |
| parent ee854bb09564f869c68d9d63ff8133cf9cf5fa10 | |
| Author: Quentin Rameau <[email protected]> | |
| Date: Wed, 19 Apr 2017 18:14:56 +0200 | |
| Move -t stylefile flag to -C stylefile | |
| Diffstat: | |
| M surf.1 | 12 ++++++------ | |
| M surf.c | 6 +++--- | |
| 2 files changed, 9 insertions(+), 9 deletions(-) | |
| --- | |
| diff --git a/surf.1 b/surf.1 | |
| @@ -6,9 +6,9 @@ surf \- simple webkit-based browser | |
| .RB [-bBdDfFgGiIkKmMnNpPsSvx] | |
| .RB [-a\ cookiepolicies] | |
| .RB [-c\ cookiefile] | |
| +.RB [-C\ stylefile] | |
| .RB [-e\ xid] | |
| .RB [-r\ scriptfile] | |
| -.RB [-t\ stylefile] | |
| .RB [-u\ useragent] | |
| .RB [-z\ zoomlevel] | |
| .RB "URI" | |
| @@ -40,6 +40,11 @@ Specify the | |
| .I cookiefile | |
| to use. | |
| .TP | |
| +.B \-C stylefile | |
| +Specify the user | |
| +.I stylefile. | |
| +This does disable the site-specific styles. | |
| +.TP | |
| .B \-d | |
| Disable the disk cache. | |
| .TP | |
| @@ -102,11 +107,6 @@ Disable Javascript | |
| .B \-S | |
| Enable Javascript | |
| .TP | |
| -.B \-t stylefile | |
| -Specify the user | |
| -.I stylefile. | |
| -This does disable the site-specific styles. | |
| -.TP | |
| .B \-u useragent | |
| Specify the | |
| .I useragent | |
| diff --git a/surf.c b/surf.c | |
| @@ -1679,6 +1679,9 @@ main(int argc, char *argv[]) | |
| case 'c': | |
| cookiefile = EARGF(usage()); | |
| break; | |
| + case 'C': | |
| + stylefile = EARGF(usage()); | |
| + break; | |
| case 'd': | |
| defconfig CSETB(DiskCache, 0); | |
| break; | |
| @@ -1739,9 +1742,6 @@ main(int argc, char *argv[]) | |
| case 'S': | |
| defconfig CSETB(JavaScript, 1); | |
| break; | |
| - case 't': | |
| - stylefile = EARGF(usage()); | |
| - break; | |
| case 'u': | |
| fulluseragent = EARGF(usage()); | |
| break; |