changeset 211:3dc35ce354f7

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 07 Oct 2012 15:15:17 +0300
parents 1aac7a53b2ae
children 8fba01374a29
files packed.c
diffstat 1 files changed, 37 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/packed.c	Sun Oct 07 15:13:08 2012 +0300
+++ b/packed.c	Sun Oct 07 15:15:17 2012 +0300
@@ -70,50 +70,50 @@
     (void) optArg;
     switch (optN)
     {
-    case 0:
-        argShowHelp();
-        exit(0);
-        break;
+        case 0:
+            argShowHelp();
+            exit(0);
+            break;
 
-    case 1:
-        optPackFilename = optArg;
-        break;
-    case 2:
-        optCommand = CMD_CREATE;
-        break;
-    case 3:
-        optCommand = CMD_ADD;
-        break;
-    case 4:
-        optCommand = CMD_LIST;
-        break;
-    case 5:
-        optCommand = CMD_EXTRACT;
-        break;
+        case 1:
+            optPackFilename = optArg;
+            break;
+        case 2:
+            optCommand = CMD_CREATE;
+            break;
+        case 3:
+            optCommand = CMD_ADD;
+            break;
+        case 4:
+            optCommand = CMD_LIST;
+            break;
+        case 5:
+            optCommand = CMD_EXTRACT;
+            break;
 
-    case 6:
-        optCompress = FALSE;
-        break;
+        case 6:
+            optCompress = FALSE;
+            break;
 
-    case 7:
-        dmVerbosity++;
-        break;
+        case 7:
+            dmVerbosity++;
+            break;
 
-    case 8:
-        {
-            int i;
-            if (!dmGetIntVal(optArg, &i))
+        case 8:
             {
-                dmError("Invalid flags value '%s'.\n", optArg);
-                return FALSE;
+                int i;
+                if (!dmGetIntVal(optArg, &i))
+                {
+                    dmError("Invalid flags value '%s'.\n", optArg);
+                    return FALSE;
+                }
+                optDefResFlags = i;
             }
-            optDefResFlags = i;
-        }
-        break;
+            break;
 
-    default:
-        dmError("Unknown argument '%s'.\n", currArg);
-        return FALSE;
+        default:
+            dmError("Unknown argument '%s'.\n", currArg);
+            return FALSE;
     }
 
     return TRUE;