Make -c only set flag_c and not a toggle. With flag_c disabled by

default, this makes the behavior of gstat more predictable when -c is
specified multiple times on the command line.
This commit is contained in:
Giorgos Keramidas 2003-03-22 09:47:02 +00:00
parent ceecf6a783
commit 6bf611a72d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112491

View File

@ -72,7 +72,7 @@ main(int argc, char **argv)
while ((i = getopt(argc, argv, "cI:")) != -1) {
switch (i) {
case 'c':
flag_c = !flag_c;
flag_c = 1;
break;
case 'I':
p = NULL;