diff options
author | portix <portix@gmx.net> | 2013-05-19 23:54:33 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-05-19 23:54:33 +0200 |
commit | 0a888d838e370623d7d741f72b3b5c4022bca7fa (patch) | |
tree | bb9584c86ee210b7454c32b24aee02ec0101453b /dwbem | |
parent | 8e8577f02d8c577adb93d3b7b6473bfa8525d940 (diff) | |
download | dwb-0a888d838e370623d7d741f72b3b5c4022bca7fa.zip |
Remove exar_cat
Diffstat (limited to 'dwbem')
-rw-r--r-- | dwbem/dwbem.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dwbem/dwbem.c b/dwbem/dwbem.c index 93cc02e1..10e9abcc 100644 --- a/dwbem/dwbem.c +++ b/dwbem/dwbem.c @@ -67,7 +67,6 @@ enum { EXAR_FLAG_V = 1<<0, EXAR_FLAG_P = 1<<3, EXAR_FLAG_U = 1<<4, - EXAR_FLAG_C = 1<<5, EXAR_FLAG_E = 1<<6, EXAR_FLAG_D = 1<<7, EXAR_FLAG_I = 1<<8, @@ -1170,8 +1169,6 @@ exar_help(int ret) " dwbem --archive option [arguments]\n\n" "OPTIONS:\n" " h Print this help and exit.\n" - " c[v] archive file Concatenates a file, directory or archive to \n" - " an existing archive.\n" " d[v] archive file Deletes a file from an archive, the file path is the\n" " relative file path of the file in the archive\n" " e[v] archive file Extracts a file from an archive and writes the content\n" @@ -1188,8 +1185,6 @@ exar_help(int ret) " get more verbose messages.\n\n" "EXAMPLES:\n" " dwbem --archive p /tmp/foo -- pack /tmp/foo to foo.exar\n" - " dwbem --archive c foo.exar bar.txt -- Concatenates bar.txt to archive foo.exar\n" - " dwbem --archive c foo.exar bar.exar -- Concatenates archive bar.exar to archive foo.exar\n" " dwbem --archive s foo.js > foo.js -- Extract foo.js from the archive\n" " dwbem --archive uvvv foo.exar -- unpack foo.exar to current directory,\n" " verbosity level 3\n" @@ -1232,9 +1227,6 @@ parse_exar_options(char **argv) case 'u' : flag |= EXAR_FLAG_U; break; - case 'c' : - flag |= EXAR_FLAG_C; - break; case 'e' : flag |= EXAR_FLAG_E; break; @@ -1266,8 +1258,6 @@ parse_exar_options(char **argv) exar_pack(argv[1]); else if (EXAR_CHECK_FLAG(flag, EXAR_FLAG_I)) exar_info(argv[1]); - else if (EXAR_CHECK_FLAG(flag, EXAR_FLAG_C) && argc > 2) - exar_cat(argv[1], argv[2]); else if (EXAR_CHECK_FLAG(flag, EXAR_FLAG_D) && argc > 2) exar_delete(argv[1], argv[2]); else if (EXAR_CHECK_FLAG(flag, EXAR_FLAG_E) && argc > 2) |