1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Doc fix.

This commit is contained in:
hniksic 2005-04-25 03:18:21 -07:00
parent e3acbd2aaf
commit 6251403378

View File

@ -326,9 +326,11 @@ init_switches (void)
*p++ = ':'; *p++ = ':';
break; break;
case OPT_BOOLEAN: case OPT_BOOLEAN:
/* Don't specify optional arguments for boolean short /* Specify an optional argument for long options, so that
options. They are evil because they prevent combining of --option=off works the same as --no-option, for
short options. */ compatibility with pre-1.10 Wget. However, don't specify
optional arguments short-option booleans because they
prevent combining of short options. */
longopt->has_arg = optional_argument; longopt->has_arg = optional_argument;
/* For Boolean options, add the "--no-FOO" variant, which is /* For Boolean options, add the "--no-FOO" variant, which is
identical to "--foo", except it has opposite meaning and identical to "--foo", except it has opposite meaning and