]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
print_help(): omit braces around for loop body
[colorize.git] / colorize.c
index 8e31f5cf53d5f66473a1d75f049bc3d263d2406b..cfc9159cac4242436a684c3b865ae0d9004d8cba 100644 (file)
@@ -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