Skip to content

Commit

Permalink
Add subfiling for h5dump filedriver option help message (HDFGroup#3878)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee authored and lrknox committed Mar 21, 2024
1 parent a509126 commit 1e95992
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 28 deletions.
12 changes: 8 additions & 4 deletions tools/src/h5dump/h5dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,15 @@ usage(const char *prog)
" (Alternate compact form of subsetting is described in the Reference Manual)\n");
PRINTVALSTREAM(rawoutstream, "\n");
PRINTVALSTREAM(rawoutstream, "--------------- Option Argument Conventions ---------------\n");
PRINTVALSTREAM(rawoutstream, " D - is the file driver to use in opening the file. Acceptable values\n");
PRINTVALSTREAM(
rawoutstream,
" are \"sec2\", \"family\", \"split\", \"multi\", \"direct\", and \"stream\". Without\n");
PRINTVALSTREAM(rawoutstream, " the file driver flag, the file will be opened with each driver in\n");
" D - is the file driver to use in opening the file. Acceptable values are available from\n");
PRINTVALSTREAM(
rawoutstream,
" "
"https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.\n");
PRINTVALSTREAM(rawoutstream,
" Without the file driver flag, the file will be opened with each driver in\n");
PRINTVALSTREAM(rawoutstream, " turn and in the order specified above until one driver succeeds\n");
PRINTVALSTREAM(rawoutstream, " in opening the file.\n");
PRINTVALSTREAM(rawoutstream,
Expand Down Expand Up @@ -1470,7 +1474,7 @@ main(int argc, char *argv[])
xml_dtd_uri_g);
}
else {
/* TO DO: make -url option work in this case (may need new option) */
/* TODO: make -url option work in this case (may need new option) */
char *ns;
char *indx;

Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/h5dump-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsIncomplete.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsLengthExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsLengthPositive.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsMaxExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsOffsetExceeded.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/expected/pbits/tpbitsOffsetNegative.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ usage: h5dump [OPTIONS] files
(Alternate compact form of subsetting is described in the Reference Manual)

--------------- Option Argument Conventions ---------------
D - is the file driver to use in opening the file. Acceptable values
are "sec2", "family", "split", "multi", "direct", and "stream". Without
the file driver flag, the file will be opened with each driver in
D - is the file driver to use in opening the file. Acceptable values are available from
https://portal.hdfgroup.org/documentation/hdf5-docs/registered_virtual_file_drivers_vfds.html.
Without the file driver flag, the file will be opened with each driver in
turn and in the order specified above until one driver succeeds
in opening the file.
See examples below for family, split, and multi driver special file name usage.
Expand Down

0 comments on commit 1e95992

Please sign in to comment.