summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_main.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-13 21:40:23 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-11-13 21:40:23 (GMT)
commit1a3c5f6aeb5e620283ace99de3ab7250143262b9 (patch)
tree64b51e577f9cd3fa931fcf825d42e1d12d91a60c /tools/h5diff/h5diff_main.c
parent7bb872868518317a869217011899a9056933363b (diff)
downloadhdf5-1a3c5f6aeb5e620283ace99de3ab7250143262b9.zip
hdf5-1a3c5f6aeb5e620283ace99de3ab7250143262b9.tar.gz
hdf5-1a3c5f6aeb5e620283ace99de3ab7250143262b9.tar.bz2
[svn-r14258] new feature: make h5diff use the same command line parsing code and syntax than h5dump
usage is now h5diff [OPTIONS] file1 file2 [obj1[obj2]] tested: windows, linux, solaris
Diffstat (limited to 'tools/h5diff/h5diff_main.c')
-rw-r--r--tools/h5diff/h5diff_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index c5c447c..e7795c6 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -66,14 +66,14 @@
int main(int argc, const char *argv[])
{
int ret;
- const char *fname1 = NULL;
- const char *fname2 = NULL;
- const char *objname1 = NULL;
- const char *objname2 = NULL;
+ char *fname1 = NULL;
+ char *fname2 = NULL;
+ char *objname1 = NULL;
+ char *objname2 = NULL;
hsize_t nfound=0;
diff_opt_t options;
- parse_input(argc, argv, &fname1, &fname2, &objname1, &objname2, &options);
+ parse_command_line(argc, argv, &fname1, &fname2, &objname1, &objname2, &options);
nfound = h5diff(fname1,fname2,objname1,objname2,&options);