diff options
author | Steven Schubiger <stsc@refcnt.org> | 2017-08-06 13:59:07 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2017-08-06 13:59:07 +0200 |
commit | 2132b9543b9b82bb5cea8f54fa41feeaed2c7ba0 (patch) | |
tree | a348c1f1f80f6c6b52067a94b7b43ecea3e00e55 /colorize.c | |
parent | a1c63b6fe0f7b67bb59af997a830aa5366142cfb (diff) | |
download | colorize-2132b9543b9b82bb5cea8f54fa41feeaed2c7ba0.tar.gz colorize-2132b9543b9b82bb5cea8f54fa41feeaed2c7ba0.tar.bz2 |
print_help(): omit braces around for loop body
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -538,13 +538,11 @@ print_help (void) const char *short_opt = NULL; unsigned int i; for (i = 0; i < sizeof (short_opts) / sizeof (struct short_opt); i++) - { - if (streq (opt->name, short_opts[i].name)) - { - short_opt = short_opts[i].short_opt; - break; - } - } + if (streq (opt->name, short_opts[i].name)) + { + short_opt = short_opts[i].short_opt; + break; + } if (short_opt) printf ("\t\t-%s, --%s\n", short_opt, opt->name); else |