aboutsummaryrefslogtreecommitdiff
path: root/src/util/getopt.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/util/getopt.c
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r--src/util/getopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c
index eb79db757..d48183b2a 100644
--- a/src/util/getopt.c
+++ b/src/util/getopt.c
@@ -609,16 +609,16 @@ GN_getopt_internal (int argc, char *const *argv, const char *optstring,
609 /* Decode the current option-ARGV-element. */ 609 /* Decode the current option-ARGV-element. */
610 610
611 /* Check whether the ARGV-element is a long option. 611 /* Check whether the ARGV-element is a long option.
612 * 612 *
613 * If long_only and the ARGV-element has the form "-f", where f is 613 * If long_only and the ARGV-element has the form "-f", where f is
614 * a valid short option, don't consider it an abbreviated form of 614 * a valid short option, don't consider it an abbreviated form of
615 * a long option that starts with f. Otherwise there would be no 615 * a long option that starts with f. Otherwise there would be no
616 * way to give the -f short option. 616 * way to give the -f short option.
617 * 617 *
618 * On the other hand, if there's a long option "fubar" and 618 * On the other hand, if there's a long option "fubar" and
619 * the ARGV-element is "-fu", do consider that an abbreviation of 619 * the ARGV-element is "-fu", do consider that an abbreviation of
620 * the long option, just like "--fu", and not "-f" with arg "u". 620 * the long option, just like "--fu", and not "-f" with arg "u".
621 * 621 *
622 * This distinction seems to be the most useful approach. */ 622 * This distinction seems to be the most useful approach. */
623 623
624 if (longopts != NULL && 624 if (longopts != NULL &&