summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-05-24 12:39:21 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-05-24 12:39:21 (GMT)
commitf318e8a4a0376d0f3c63b18a6e1629e651dcb353 (patch)
tree55a68414124599f265389aa0c0474bd7ad9d0ece /tools/h5diff
parent605294cdb251a708b7bf117a10b30fb783041391 (diff)
downloadhdf5-f318e8a4a0376d0f3c63b18a6e1629e651dcb353.zip
hdf5-f318e8a4a0376d0f3c63b18a6e1629e651dcb353.tar.gz
hdf5-f318e8a4a0376d0f3c63b18a6e1629e651dcb353.tar.bz2
[svn-r13804]
Early detection of no arguments, print usage and exit Tested: linux
Diffstat (limited to 'tools/h5diff')
-rw-r--r--tools/h5diff/h5diff_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index c97586b..b4ab3a3 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -84,7 +84,6 @@ int main(int argc, const char *argv[])
if ( argc<3 )
{
- printf("Number of arguments is only %d\n", argc );
usage();
}