Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv2284
Modified Files:
tmux.1 tmux.c
Log Message:
-V to report version, SF issue 3038862.
Index: tmux.c
===================================================================
RCS file: /cvsroot/tmux/tmux/tmux.c,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -d -r1.225 -r1.226
--- tmux.c 7 Dec 2010 20:23:21 -0000 1.225
+++ tmux.c 10 Dec 2010 21:19:13 -0000 1.226
@@ -62,8 +62,8 @@
usage(void)
{
fprintf(stderr,
- "usage: %s [-28lquv] [-c shell-command] [-f file] [-L
socket-name]\n"
- " [-S socket-path] [command [flags]]\n",
+ "usage: %s [-28lquvV] [-c shell-command] [-f file] "
+ " [-L socket-name][-S socket-path] [command [flags]]\n",
__progname);
exit(1);
}
@@ -243,7 +243,7 @@
quiet = flags = 0;
label = path = NULL;
login_shell = (**argv == '-');
- while ((opt = getopt(argc, argv, "28c:df:lL:qS:uUv")) != -1) {
+ while ((opt = getopt(argc, argv, "28c:df:lL:qS:uUvV")) != -1) {
switch (opt) {
case '2':
flags |= IDENTIFY_256COLOURS;
@@ -258,6 +258,9 @@
xfree(shell_cmd);
shell_cmd = xstrdup(optarg);
break;
+ case 'V':
+ printf("%s %s\n", __progname, BUILD);
+ exit(0);
case 'f':
if (cfg_file != NULL)
xfree(cfg_file);
Index: tmux.1
===================================================================
RCS file: /cvsroot/tmux/tmux/tmux.1,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -d -r1.275 -r1.276
--- tmux.1 10 Dec 2010 21:05:22 -0000 1.275
+++ tmux.1 10 Dec 2010 21:19:13 -0000 1.276
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 28lquv
+.Op Fl 28lquvV
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -198,6 +198,10 @@
files in the current directory, where
.Em PID
is the PID of the server or client process.
+.It Fl V
+Report the
+.Nm
+version.
.It Ar command Op Ar flags
This specifies one of a set of commands used to control
.Nm ,
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs