diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-01-23 14:13:25 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-01-23 14:13:25 +0000 |
commit | bb8715953fa75bf442c55521686f8f0c7c1a0d2e (patch) | |
tree | ae8f3a0537704fde7970ed7db8a01dfc63ceb940 /usr.bin/cvs | |
parent | c3665f9a5c45d04507815cd89009118c40127fdd (diff) |
print complete command name in usage, not aliases.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/cvs.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <jfb@openbsd.org> * 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"); |