summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index f90ff54..f8f7f53 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -64,18 +64,20 @@ static void aux_initglb_filter(pack_opt_t *options)
*/
int h5repack(const char* infile,
const char* outfile,
- pack_opt_t *options)
+ pack_opt_t *options,
+ int argc,
+ const char *argv[])
{
/* check input */
if (check_options(options)<0)
return -1;
/* check for objects in input that are in the file */
- if (check_objects(infile,options)<0)
+ if (check_objects(infile,options,argc,argv)<0)
return -1;
/* copy the objects */
- if (copy_objects(infile,outfile,options)<0)
+ if (copy_objects(infile,outfile,options,argc,argv)<0)
return -1;