summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2023-04-17 18:00:20 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2023-04-17 18:00:20 +0000
commitd0d4e57162aa996e7de3d543d7583501b6ea0c24 (patch)
tree8ff69272e6e89e09348e12d85df012218713ba0b
parent16cad34d0d35f9258566fdf09f48748c86b75b4c (diff)
It seems silly to use progname for version, just always say tmux.
-rw-r--r--usr.bin/tmux/tmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index 47d159f3901..0df587878be 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.210 2022/11/10 22:58:39 jmc Exp $ */
+/* $OpenBSD: tmux.c,v 1.211 2023/04/17 18:00:19 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -401,7 +401,7 @@ main(int argc, char **argv)
cfg_quiet = 0;
break;
case 'V':
- printf("%s %s\n", getprogname(), getversion());
+ printf("tmux %s\n", getversion());
exit(0);
case 'l':
flags |= CLIENT_LOGIN;