diff options
author | jdp <jdp@FreeBSD.org> | 1996-10-01 00:51:27 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1996-10-01 00:51:27 +0000 |
commit | af1c48e2152c0d2371d8e9b67ce8473caf116fda (patch) | |
tree | b0cd8152dbdb8510280b1a02b59efa11068a83c8 /contrib/cvs/src/mkmodules.c | |
parent | 1c0a68465ce4299b095809def157040f1dd26ff6 (diff) | |
download | FreeBSD-src-af1c48e2152c0d2371d8e9b67ce8473caf116fda.zip FreeBSD-src-af1c48e2152c0d2371d8e9b67ce8473caf116fda.tar.gz |
Fix a bug in the "cvs init" command. It ignored the global "-H" option.
I.e., "cvs -H init" went ahead and initialized the repository, and did
not print out a usage message. Not nice.
Also added the "init" command to the list that comes out when you type
"cvs --help-commands". There is still not a word about it in the manual
page.
Yes, I am sending these fixes to the FSF.
Diffstat (limited to 'contrib/cvs/src/mkmodules.c')
-rw-r--r-- | contrib/cvs/src/mkmodules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cvs/src/mkmodules.c b/contrib/cvs/src/mkmodules.c index bdd27eb..890c3a4 100644 --- a/contrib/cvs/src/mkmodules.c +++ b/contrib/cvs/src/mkmodules.c @@ -644,7 +644,7 @@ init (argc, argv) umask (cvsumask); - if (argc > 1) + if (argc == -1 || argc > 1) usage (init_usage); if (client_active) |