[hackers] [surf] Move xid printing option from -x to -w || Quentin Rameau
 
commit 7823ab6fc0d035a1e75a3d08867a0dfd04ff635f
Author:     Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Apr 29 17:23:37 2017 +0200
Commit:     Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sat Apr 29 17:59:08 2017 +0200
    Move xid printing option from -x to -w
diff --git a/surf.1 b/surf.1
index 920687e..cc54351 100644
--- a/surf.1
+++ b/surf.1
_AT_@ -121,7 +121,7 @@ which surf should use.
 .B \-v
 Prints version information to standard output, then exits.
 .TP
-.B \-x
+.B \-w
 Prints xid to standard output. This can be used to script the browser in for
 example
 .BR xdotool(1).
diff --git a/surf.c b/surf.c
index ba95063..84ab8e3 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -920,7 +920,7 @@ newwindow(Client *c, const Arg *a, int noembed)
                 cmd[i++] = fulluseragent;
         }
         if (showxid)
-		cmd[i++] = "-x";
+		cmd[i++] = "-w";
         /* do not keep zoom level */
         cmd[i++] = "--";
         if ((uri = a->v))
_AT_@ -1899,7 +1899,7 @@ main(int argc, char *argv[])
         case 'v':
                 die("surf-"VERSION", ©2009-2017 surf engineers, "
                     "see LICENSE for details\n");
-	case 'x':
+	case 'w':
                 showxid = 1;
                 break;
         case 'z':
Received on Sun Apr 30 2017 - 23:25:11 CEST
This archive was generated by hypermail 2.3.0
: Sun Apr 30 2017 - 23:36:51 CEST