diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-11-13 21:40:23 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-11-13 21:40:23 (GMT) |
commit | 1a3c5f6aeb5e620283ace99de3ab7250143262b9 (patch) | |
tree | 64b51e577f9cd3fa931fcf825d42e1d12d91a60c /tools/h5diff/h5diff_main.c | |
parent | 7bb872868518317a869217011899a9056933363b (diff) | |
download | hdf5-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.c | 10 |
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); |