Skip to content

Commit 232ee6a

Browse files
author
Kazuki Suzuki Przyborowski
authored
Add files via upload
1 parent db9f60a commit 232ee6a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

catfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
argparser.add_argument("-l", "-t", "--list", action="store_true", help="list files only");
6464
argparser.add_argument("-r", "--repack", action="store_true", help="reconcatenate files only fixing checksum errors");
6565
argparser.add_argument("-o", "--output", default=None, help="extract concatenate files to or concatenate output name");
66-
argparser.add_argument("-compress", "--compress", default="auto", help="extract concatenate files to or concatenate output name");
66+
argparser.add_argument("-compression", "--compression", default="auto", help="concatenate files with compression");
6767
getargs = argparser.parse_args();
6868

6969
should_extract = False;
@@ -112,11 +112,11 @@
112112
if(getargs.verbose):
113113
logging.basicConfig(format="%(message)s", stream=sys.stdout, level=logging.DEBUG);
114114
if(should_create and not should_extract and not should_list and not should_repack and not should_convert):
115-
pycatfile.PackCatFile(getargs.input, getargs.output, getargs.compress, False, getargs.checksum, getargs.verbose, False);
115+
pycatfile.PackCatFile(getargs.input, getargs.output, getargs.compression, False, getargs.checksum, getargs.verbose, False);
116116
if(should_create and not should_extract and not should_list and not should_repack and should_convert):
117-
pycatfile.PackCatFileFromTarFile(getargs.input, getargs.output, getargs.compress, getargs.checksum, getargs.verbose, False);
117+
pycatfile.PackCatFileFromTarFile(getargs.input, getargs.output, getargs.compression, getargs.checksum, getargs.verbose, False);
118118
if(should_create and not should_extract and not should_list and should_repack and not should_convert):
119-
pycatfile.RePackCatFile(getargs.input, getargs.output, 0, 0, getargs.compress, getargs.checksum, False, getargs.verbose, False);
119+
pycatfile.RePackCatFile(getargs.input, getargs.output, 0, 0, getargs.compression, getargs.checksum, False, getargs.verbose, False);
120120
if(not should_create and should_extract and not should_list):
121121
pycatfile.UnPackCatFile(getargs.input, getargs.output, False, getargs.verbose, False);
122122
if(not should_create and not should_extract and should_list):

0 commit comments

Comments
 (0)