summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5ls.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index b5b4dfe..c17b84c 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1132,16 +1132,6 @@ dump_dataset_values(hid_t dset)
info.cmpd_suf = "";
info.cmpd_sep = " ";
- info.dset_format = "DSET-%lu:%lu:%lu:%lu-";
- info.dset_hidefileno = 0;
-
- info.obj_format = "-%lu:%lu:%lu:%lu";
- info.obj_hidefileno = 0;
-
- info.dset_blockformat_pre = "%sBlk%lu: ";
- info.dset_ptformat_pre = "%sPt%lu: ";
-
-
if (label_g) info.cmpd_name = "%s=";
info.elmt_suf1 = " ";
@@ -1156,6 +1146,17 @@ dump_dataset_values(hid_t dset)
info.line_cont = " %s ";
info.str_repeat = 8;
}
+
+ info.dset_format = "DSET-%lu:%lu:%lu:%lu-";
+ info.dset_hidefileno = 0;
+
+ info.obj_format = "-%lu:%lu:%lu:%lu";
+ info.obj_hidefileno = 0;
+
+ info.dset_blockformat_pre = "%sBlk%lu: ";
+ info.dset_ptformat_pre = "%sPt%lu: ";
+
+ info.line_indent = "";
if (hexdump_g) {
/*