comparison lwar/main.c @ 174:cc41ccee8f64

added --merge to lwar
author lost
date Tue, 03 Mar 2009 00:42:47 +0000
parents 47427342e41d
children bb2665c7005c
comparison
equal deleted inserted replaced
173:0395e6fd67e9 174:cc41ccee8f64
56 56
57 case 'c': 57 case 'c':
58 // create archive 58 // create archive
59 operation = LWAR_OP_CREATE; 59 operation = LWAR_OP_CREATE;
60 break; 60 break;
61 61
62 case 'm':
63 mergeflag = 1;
64 break;
65
62 // case 'r': 66 // case 'r':
63 // // remove members 67 // // remove members
64 // operation = LWAR_OP_REMOVE; 68 // operation = LWAR_OP_REMOVE;
65 // break; 69 // break;
66 70
93 "Add members to the archive" }, 97 "Add members to the archive" },
94 { "list", 'l', 0, 0, 98 { "list", 'l', 0, 0,
95 "List the contents of the archive" }, 99 "List the contents of the archive" },
96 { "create", 'c', 0, 0, 100 { "create", 'c', 0, 0,
97 "Create new archive (or truncate existing one)" }, 101 "Create new archive (or truncate existing one)" },
102 { "merge", 'm', 0, 0,
103 "Add the contents of archive arguments instead of the archives themselves" },
98 { "debug", 'd', 0, 0, 104 { "debug", 'd', 0, 0,
99 "Set debug mode"}, 105 "Set debug mode"},
100 { 0 } 106 { 0 }
101 }; 107 };
102 108