Skip to content

Commit

Permalink
Merge pull request #1 from teoberi/teoberi-clamconf
Browse files Browse the repository at this point in the history
Update clamconf.c
  • Loading branch information
teoberi authored Dec 20, 2023
2 parents 2178e4a + dd2c308 commit dfba33f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clamconf/clamconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ static void printopts(struct optstruct *opts, int nondef)

case CLOPT_TYPE_NUMBER:
case CLOPT_TYPE_SIZE:
case CLOPT_TYPE_SIZE64:
printf("%s = \"%lld\"", opts->name, opts->numarg);
opt = opts;
while ((opt = opt->nextarg))
Expand Down Expand Up @@ -169,7 +170,8 @@ static int printconf(const char *name)
break;

case CLOPT_TYPE_SIZE:
printf("# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)\n# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size\n# in bytes just don't use modifiers.\n");
case CLOPT_TYPE_SIZE64:
printf("# You may use 'G' or 'g' for gigabytes (1G = 1g = 1,073,741,824 bytes)\n# 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)\n# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes). To specify the size\n# in bytes just don't use modifiers.\n");
if (cpt->numarg != -1)
printf("# Default: %lld\n", cpt->numarg);
else
Expand Down

0 comments on commit dfba33f

Please sign in to comment.