[hackers] [surf/surf-webkit2] Move -t stylefile flag to -C stylefile || Quentin Rameau

From: <git_AT_suckless.org>
Date: Thu, 20 Apr 2017 12:21:29 +0200 (CEST)

commit a9819591242a070a24b458900b6f90b6056ba90a
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Wed Apr 19 18:14:56 2017 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Thu Apr 20 00:09:01 2017 +0200

    Move -t stylefile flag to -C stylefile

diff --git a/surf.1 b/surf.1
index 7309308..370dcee 100644
--- a/surf.1
+++ b/surf.1
_AT_@ -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"
_AT_@ -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
_AT_@ -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
index d22de3e..8daa1e1 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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;
_AT_@ -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;
Received on Thu Apr 20 2017 - 12:21:29 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 20 2017 - 12:24:27 CEST