summaryrefslogtreecommitdiffstats
path: root/tools/test/misc/CMakeTestsClear.cmake
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-08-03 21:04:58 (GMT)
committerGitHub <noreply@github.com>2021-08-03 21:04:58 (GMT)
commit5dabec4cf6b97793e3af6df3b6a3953394bbf27d (patch)
treefdfe1784e0d3f0b5879278570a8082e71ad33686 /tools/test/misc/CMakeTestsClear.cmake
parent04f1bff6757892df07cd72520af276f7691ff43b (diff)
downloadhdf5-5dabec4cf6b97793e3af6df3b6a3953394bbf27d.zip
hdf5-5dabec4cf6b97793e3af6df3b6a3953394bbf27d.tar.gz
hdf5-5dabec4cf6b97793e3af6df3b6a3953394bbf27d.tar.bz2
Removes partial long options from the tools (#872)
Some of the command-line tools would allow partial long options (e.g., --datas instead of --dataset). These were inconsistently implemented, difficult to maintain, and occasionally blocked useful long options. They have been removed from all the tools. NOTE: This change should NOT be merged to 1.12 or earlier.
Diffstat (limited to 'tools/test/misc/CMakeTestsClear.cmake')
-rw-r--r--tools/test/misc/CMakeTestsClear.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/misc/CMakeTestsClear.cmake b/tools/test/misc/CMakeTestsClear.cmake
index ec24a61..198a363 100644
--- a/tools/test/misc/CMakeTestsClear.cmake
+++ b/tools/test/misc/CMakeTestsClear.cmake
@@ -397,7 +397,7 @@
#
# The following are tests to verify the expected exit code from h5clear:
# "h5clear -m h5clear_mdc_image.h5" (valid option, existing file, succeed exit code)
-# "h5clear --vers" (valid option, version #, succeed exit code)
+# "h5clear --version" (valid option, version #, succeed exit code)
# "h5clear -k" (invalid 1 option, no file, fail exit code)
# "h5clear -k junk.h5" (invalid 1 option, nonexisting file, fail exit code)
# "h5clear -l h5clear_sec2_v2.h5" (invalid 1 option, existing file, fail exit code)
@@ -408,7 +408,7 @@
# "h5clear -m -l h5clear_sec2_v0.h5" (valid/invalid 2 options, existing file, fail exit code)
# "h5clear -l -m h5clear_sec2_v0.h5" (invalid/valid 2 options, existing file, fail exit code)
ADD_H5_RETTEST (h5clr_mdc_image "false" "-m" h5clear_mdc_image.h5)
- ADD_H5_RETTEST (h5clr_vers "false" "--vers")
+ ADD_H5_RETTEST (h5clr_vers "false" "--version")
ADD_H5_RETTEST (h5clr_k "true" "-k")
ADD_H5_RETTEST (h5clr_k_junk "true" "-k" junk.h5)
ADD_H5_RETTEST (h5clr_l_sec2 "true" "-l" h5clear_sec2_v2.h5)