1 # Re-added -l option to the client. Does nothing, but stops
2 # warnings/errors. Will really fix #219950 and #224737, and also a
3 # differently-described bug (220379). Closes: #219950, #220379
5 # Patch by Steve McIntyre <steve@einval.com>
6 diff -ruN cvs-1.12.13-old/src/main.c cvs-1.12.13/src/main.c
7 --- cvs-1.12.13-old/src/main.c 2006-02-26 22:09:42.000000000 +0800
8 +++ cvs-1.12.13/src/main.c 2006-02-26 22:09:43.000000000 +0800
10 int help = 0; /* Has the user asked for help? This
11 lets us support the `cvs -H cmd'
12 convention to give help for cmd. */
13 - static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa";
14 + static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xal";
15 static struct option long_options[] =
17 {"help", 0, NULL, 'H'},
22 + case 'l': /* no-op to simply ignore the old -l option */
25 (void) fputs ("\n", stdout);