summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/init.c
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 00:46:49 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 00:46:49 +0000
commitcf29083aafa36af0b4fb3478c24503f6b2d04839 (patch)
tree27d076f0366618ae69aeadae740ebf27f3ad0aa6 /usr.bin/cvs/init.c
parent36933da22498e1ad2c3a577e2bb409b583c2cef2 (diff)
* document cvs_init() a bit
Diffstat (limited to 'usr.bin/cvs/init.c')
-rw-r--r--usr.bin/cvs/init.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/cvs/init.c b/usr.bin/cvs/init.c
index f823ce77dbc..48232a588d5 100644
--- a/usr.bin/cvs/init.c
+++ b/usr.bin/cvs/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.1 2004/07/13 22:02:40 jfb Exp $ */
+/* $OpenBSD: init.c,v 1.2 2004/07/14 00:46:48 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -72,7 +72,13 @@ struct cvsroot_file {
-
+/*
+ * cvs_init()
+ *
+ * Handler for the `cvs init' command which is used to initialize a CVS
+ * repository.
+ * Returns 0 on success, or the appropriate exit status on failure.
+ */
int
cvs_init(int argc, char **argv)