diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-03-21 18:56:36 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-03-21 18:56:36 (GMT) |
commit | 26cab92853adc480d0d72bd845fafa229a97becc (patch) | |
tree | b2b274424479b1d1e158c594dac9dcd17ac7b556 /tools/testfiles/tpbitsOffsetNegative.ddl | |
parent | 9f18db936fcb588325bfb63a60a6804972d91d70 (diff) | |
download | hdf5-26cab92853adc480d0d72bd845fafa229a97becc.zip hdf5-26cab92853adc480d0d72bd845fafa229a97becc.tar.gz hdf5-26cab92853adc480d0d72bd845fafa229a97becc.tar.bz2 |
[svn-r22108] Purpose:
HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name
Description:
Update command line help page and test generating file.
Previous commits: r22052, r22063
Tested:
jam (linux32-LE), koala (linux64-LE), cmake (jam)
Diffstat (limited to 'tools/testfiles/tpbitsOffsetNegative.ddl')
-rw-r--r-- | tools/testfiles/tpbitsOffsetNegative.ddl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testfiles/tpbitsOffsetNegative.ddl b/tools/testfiles/tpbitsOffsetNegative.ddl index 060fc37..747cf99 100644 --- a/tools/testfiles/tpbitsOffsetNegative.ddl +++ b/tools/testfiles/tpbitsOffsetNegative.ddl @@ -10,6 +10,9 @@ usage: h5dump [OPTIONS] files -e, --escape Escape non printing characters -V, --version Print version number and exit -a P, --attribute=P Print the specified attribute + If an attribute name contains a slash (/), escape the + slash with a preceding backslash (\). + (See example section below.) -d P, --dataset=P Print the specified dataset -y, --noindex Do not print array indices with the data -p, --properties Print dataset filters, storage layout and fill value @@ -81,6 +84,10 @@ usage: h5dump [OPTIONS] files h5dump -a /bar_none/foo quux.h5 + Attribute "high/low" of the group /bar_none in the file quux.h5 + + h5dump -a "/bar_none/high\/low" quux.h5 + 2) Selecting a subset from dataset /foo in file quux.h5 h5dump -d /foo -s "0,1" -S "1,1" -c "2,3" -k "2,2" quux.h5 |