@@ -108,7 +108,7 @@ def handler(signum, frame):
108108# Version information
109109argparser .add_argument ("-V" , "--version" , action = "version" , version = __program_name__ + " " + __version__ )
110110# Input and output specifications
111- argparser .add_argument ("-i" , "--input" , nargs = "+" , help = "Specify the file(s) to concatenate or the archive file to extract." , required = True )
111+ argparser .add_argument ("-i" , "--input" , help = "Specify the file(s) to concatenate or the archive file to extract." , required = True )
112112argparser .add_argument ("-o" , "--output" , default = None , help = "Specify the name for the extracted or output archive files." )
113113# Operations
114114argparser .add_argument ("-c" , "--create" , action = "store_true" , help = "Perform only the concatenation operation." )
@@ -170,11 +170,11 @@ def handler(signum, frame):
170170 tmpout = pycatfile .RePackCatFile (input_file , getargs .output , "auto" , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , getargs .filestart , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .insecretkey , getargs .outsecretkey , False , getargs .verbose , False )
171171 else :
172172 tmpout = pycatfile .PackCatFileFromInFile (
173- input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .insecretkey , getargs .verbose , False )
173+ input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .outsecretkey , getargs .verbose , False )
174174 if (not tmpout ):
175175 sys .exit (1 )
176176 else :
177- pycatfile .PackCatFile (getargs .input , getargs .output , getargs .text , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .insecretkey , getargs .verbose , False )
177+ pycatfile .PackCatFile (getargs .input , getargs .output , getargs .text , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .outsecretkey , getargs .verbose , False )
178178 elif active_action == 'repack' :
179179 if getargs .convert :
180180 checkcompressfile = pycatfile .CheckCompressionSubType (
@@ -183,7 +183,7 @@ def handler(signum, frame):
183183 pycatfile .RePackCatFile (input_file , getargs .output , "auto" , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
184184 False , getargs .filestart , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .insecretkey , getargs .outsecretkey , False , getargs .verbose , False )
185185 else :
186- pycatfile .PackCatFileFromInFile (input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .insecretkey , getargs .verbose , False )
186+ pycatfile .PackCatFileFromInFile (input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .outsecretkey , getargs .verbose , False )
187187 if (not tmpout ):
188188 sys .exit (1 )
189189 else :
@@ -198,7 +198,7 @@ def handler(signum, frame):
198198 tmpout = pycatfile .RePackCatFile (input_file , tempout , "auto" , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , getargs .filestart , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .insecretkey , getargs .outsecretkey , False , False )
199199 else :
200200 tmpout = pycatfile .PackCatFileFromInFile (
201- input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .insecretkey , False , False )
201+ input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .outsecretkey , False , False )
202202 if (not tmpout ):
203203 sys .exit (1 )
204204 input_file = tempout
@@ -225,7 +225,7 @@ def handler(signum, frame):
225225 tmpout = pycatfile .RePackCatFile (input_file , tempout , "auto" , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , getargs .filestart , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .insecretkey , getargs .outsecretkey , False , False , False )
226226 else :
227227 tmpout = pycatfile .PackCatFileFromInFile (
228- input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .insecretkey , False , False )
228+ input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], [], {}, fnamedict , getargs .outsecretkey , False , False )
229229 input_file = tempout
230230 if (not tmpout ):
231231 sys .exit (1 )
0 commit comments