From bb8715953fa75bf442c55521686f8f0c7c1a0d2e Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Mon, 23 Jan 2006 14:13:25 +0000 Subject: print complete command name in usage, not aliases. --- usr.bin/cvs/cvs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/cvs/cvs.c') diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c index d0064072b12..1482992513b 100644 --- a/usr.bin/cvs/cvs.c +++ b/usr.bin/cvs/cvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.91 2006/01/02 17:06:10 xsa Exp $ */ +/* $OpenBSD: cvs.c,v 1.92 2006/01/23 14:13:24 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -210,8 +210,8 @@ main(int argc, char **argv) ret = cvs_startcmd(cmdp, cmd_argc, cmd_argv); switch (ret) { case CVS_EX_USAGE: - fprintf(stderr, "Usage: %s %s %s\n", __progname, cvs_command, - cmdp->cmd_synopsis); + fprintf(stderr, "Usage: %s %s %s\n", __progname, + cmdp->cmd_name, cmdp->cmd_synopsis); break; case CVS_EX_DATA: cvs_log(LP_ABORT, "internal data error"); -- cgit v1.2.3