Move xid printing option from -x to -w
This commit is contained in:
parent
9eda6f5dd5
commit
7823ab6fc0
2
surf.1
2
surf.1
|
@ -121,7 +121,7 @@ which surf should use.
|
||||||
.B \-v
|
.B \-v
|
||||||
Prints version information to standard output, then exits.
|
Prints version information to standard output, then exits.
|
||||||
.TP
|
.TP
|
||||||
.B \-x
|
.B \-w
|
||||||
Prints xid to standard output. This can be used to script the browser in for
|
Prints xid to standard output. This can be used to script the browser in for
|
||||||
example
|
example
|
||||||
.BR xdotool(1).
|
.BR xdotool(1).
|
||||||
|
|
4
surf.c
4
surf.c
|
@ -920,7 +920,7 @@ newwindow(Client *c, const Arg *a, int noembed)
|
||||||
cmd[i++] = fulluseragent;
|
cmd[i++] = fulluseragent;
|
||||||
}
|
}
|
||||||
if (showxid)
|
if (showxid)
|
||||||
cmd[i++] = "-x";
|
cmd[i++] = "-w";
|
||||||
/* do not keep zoom level */
|
/* do not keep zoom level */
|
||||||
cmd[i++] = "--";
|
cmd[i++] = "--";
|
||||||
if ((uri = a->v))
|
if ((uri = a->v))
|
||||||
|
@ -1899,7 +1899,7 @@ main(int argc, char *argv[])
|
||||||
case 'v':
|
case 'v':
|
||||||
die("surf-"VERSION", ©2009-2017 surf engineers, "
|
die("surf-"VERSION", ©2009-2017 surf engineers, "
|
||||||
"see LICENSE for details\n");
|
"see LICENSE for details\n");
|
||||||
case 'x':
|
case 'w':
|
||||||
showxid = 1;
|
showxid = 1;
|
||||||
break;
|
break;
|
||||||
case 'z':
|
case 'z':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user