1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Allow zero args to "cvs log".

This commit is contained in:
Brian Somers 1997-11-18 19:38:27 +00:00
parent 0346113c71
commit f9e4a0ca7d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31288

View File

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: command.c,v 1.102 1997/11/13 14:43:14 brian Exp $
* $Id: command.c,v 1.103 1997/11/18 00:19:28 brian Exp $
*
*/
#include <sys/param.h>
@ -1013,7 +1013,7 @@ SetLogLevel(struct cmdtab const * list, int argc, char **argv)
void (*DiscardAll)(void);
res = 0;
if (strcasecmp(argv[0], "local")) {
if (argc == 0 || strcasecmp(argv[0], "local")) {
Discard = LogDiscard;
Keep = LogKeep;
DiscardAll = LogDiscardAll;