From: nicm Date: Mon, 17 Apr 2023 18:00:19 +0000 (+0000) Subject: It seems silly to use progname for version, just always say tmux. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=df816d4863422cbd91de8229ee0326ff6d7d8be4;p=openbsd It seems silly to use progname for version, just always say tmux. --- 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 @@ -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;