comparison tools/packed.c @ 1023:76914697a343

Oops, missed this from a previous commit. :S
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Mar 2015 16:00:55 +0200
parents 0020c192c8dd
children 66b01739e5d3
comparison
equal deleted inserted replaced
1022:0020c192c8dd 1023:76914697a343
40 int optDefResFlags = 0; 40 int optDefResFlags = 0;
41 41
42 42
43 static const DMOptArg optList[] = 43 static const DMOptArg optList[] =
44 { 44 {
45 { 0, '?', "help", "Show this help", OPT_NONE },
46 { 1, 'p', "pack", "Set pack filename (default: " SET_DEFAULT_PACK ")", OPT_ARGREQ },
47 { 2, 'c', "create", "Create and add files to PACK", OPT_NONE },
48 { 3, 'a', "add", "Add files to PACK", OPT_NONE },
49 { 4, 'l', "list", "List files in PACK", OPT_NONE },
50 { 5, 'e', "extract", "Extract files from PACK", OPT_NONE },
51 { 6, 'n', "nocompress", "No compression", OPT_NONE },
52 { 7, 'v', "verbose", "Increase verbosity", OPT_NONE },
53 { 8, 'f', "resflags", "Set default resource flags (-f 0xff)", OPT_ARGREQ },
54 { 9, 'x', "exclude", "Exclude name/glob pattern from add", OPT_ARGREQ },
55 { 0, '?', "help", "Show this help", OPT_NONE }, 45 { 0, '?', "help", "Show this help", OPT_NONE },
56 { 1, 'p', "pack", "Set pack filename (default: " SET_DEFAULT_PACK ")", OPT_ARGREQ }, 46 { 1, 'p', "pack", "Set pack filename (default: " SET_DEFAULT_PACK ")", OPT_ARGREQ },
57 { 2, 'c', "create", "Create and add files to PACK", OPT_NONE }, 47 { 2, 'c', "create", "Create and add files to PACK", OPT_NONE },
58 { 3, 'a', "add", "Add files to PACK", OPT_NONE }, 48 { 3, 'a', "add", "Add files to PACK", OPT_NONE },
59 { 4, 'l', "list", "List files in PACK", OPT_NONE }, 49 { 4, 'l', "list", "List files in PACK", OPT_NONE },