# HG changeset patch # User Matti Hamalainen # Date 1349612117 -10800 # Node ID 3dc35ce354f7c9483bbcf569ab984d074a048783 # Parent 1aac7a53b2ae9a1563622a4e0694723c641c61de Cosmetics. diff -r 1aac7a53b2ae -r 3dc35ce354f7 packed.c --- 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;