summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-02-21 20:05:04 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-02-21 20:05:04 (GMT)
commit67f5810d8452df6c13ead8056851c390f0d12235 (patch)
tree9b0293cbfa5b08eb0f20756d794a906dc4aec605 /tools/lib/h5diff.c
parent1e07756ac265fad1171cd18efcdb2b0ba9bb903d (diff)
downloadhdf5-67f5810d8452df6c13ead8056851c390f0d12235.zip
hdf5-67f5810d8452df6c13ead8056851c390f0d12235.tar.gz
hdf5-67f5810d8452df6c13ead8056851c390f0d12235.tar.bz2
[svn-r13368]
Added a little format alignment to the printing of dimensions
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index 2f850a6..d770769 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -60,12 +60,11 @@ print_objname (diff_opt_t * options, hsize_t nfound)
void
do_print_objname (const char *OBJ, const char *path1, const char *path2)
{
- parallel_print("%s:\n<%s> and <%s> ", OBJ, path1, path2);
+ parallel_print("%-7s: <%s> and <%s>\n", OBJ, path1, path2);
}
-
#ifdef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: phdiff_dismiss_workers
@@ -930,7 +929,7 @@ hsize_t diff (hid_t file1_id,
{
if (print_objname (options, (hsize_t)1))
do_print_objname ("dataset", path1, path2);
- nfound = diff_dataset (file1_id, file2_id, path1, path2, options, 1);
+ nfound = diff_dataset (file1_id, file2_id, path1, path2, options);
/* always print the number of differences found */
print_found(nfound);
}
@@ -944,14 +943,14 @@ hsize_t diff (hid_t file1_id,
{
/* shut up temporarily */
options->m_quiet = 1;
- nfound = diff_dataset (file1_id, file2_id, path1, path2, options, 0);
+ nfound = diff_dataset (file1_id, file2_id, path1, path2, options);
/* print again */
options->m_quiet = 0;
if (nfound)
{
if (print_objname (options, nfound))
do_print_objname ("dataset", path1, path2);
- nfound = diff_dataset (file1_id, file2_id, path1, path2, options, 1);
+ nfound = diff_dataset (file1_id, file2_id, path1, path2, options);
/* print the number of differences found only when found
this is valid for the default mode and report mode */
print_found(nfound);
@@ -964,7 +963,7 @@ hsize_t diff (hid_t file1_id,
*/
else
{
- nfound = diff_dataset (file1_id, file2_id, path1, path2, options, 0);
+ nfound = diff_dataset (file1_id, file2_id, path1, path2, options);
}
} /*else verbose */