summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-12-06 21:58:32 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-12-06 21:58:32 +0000
commit6362781442cf20ec59e6550787b8b741d379fca9 (patch)
treea5f8314e1bd71550ba2b473f7d2007283d8cc115 /usr.bin
parentc903c730ac162bc88fa54468b694b4313eae7507 (diff)
add missing aliases for the status, tag, update and version commands
original patch from Peter Hessler, with additions by me
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/cvs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 318cd7d823c..91f56472abf 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.15 2004/12/06 21:03:12 deraadt Exp $ */
+/* $OpenBSD: cvs.c,v 1.16 2004/12/06 21:58:31 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -230,13 +230,13 @@ static struct cvs_cmd {
"Server mode",
},
{
- CVS_OP_STATUS, "status", {}, cvs_status,
+ CVS_OP_STATUS, "status", { "st", "stat" }, cvs_status,
"",
"",
"Display status information on checked out files",
},
{
- CVS_OP_TAG, "tag", { "ta", }, NULL,
+ CVS_OP_TAG, "tag", { "ta", "freeze" }, NULL,
"",
"",
"Add a symbolic tag to checked out version of files",
@@ -248,13 +248,13 @@ static struct cvs_cmd {
"Undo an edit command",
},
{
- CVS_OP_UPDATE, "update", {}, cvs_update,
+ CVS_OP_UPDATE, "update", { "up", "upd" }, cvs_update,
"",
"",
"Bring work tree in sync with repository",
},
{
- CVS_OP_VERSION, "version", {}, cvs_version,
+ CVS_OP_VERSION, "version", { "ve", "ver" }, cvs_version,
"", "",
"Show current CVS version(s)",
},