mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r14324] bug fix: #786 (E3) h5dump refers to the user block as "boot block"
replaced usage message with "super block" tested: linux
This commit is contained in:
parent
a5ba6ac397
commit
c15315539b
@ -610,7 +610,7 @@ usage(const char *prog)
|
||||
fprintf(stdout, " OPTIONS\n");
|
||||
fprintf(stdout, " -h, --help Print a usage message and exit\n");
|
||||
fprintf(stdout, " -n, --contents Print a list of the file contents and exit\n");
|
||||
fprintf(stdout, " -B, --bootblock Print the content of the boot block\n");
|
||||
fprintf(stdout, " -B, --superblock Print the content of the super block\n");
|
||||
fprintf(stdout, " -H, --header Print the header only; no data is displayed\n");
|
||||
fprintf(stdout, " -A, --onlyattr Print the header and value of attributes\n");
|
||||
fprintf(stdout, " -i, --object-ids Print the object ids\n");
|
||||
@ -2756,7 +2756,7 @@ static void
|
||||
dump_fcpl(hid_t fid)
|
||||
{
|
||||
hid_t fcpl; /* file creation property list ID */
|
||||
hid_t fapl; /* file access property list ID */
|
||||
hid_t fapl; /* file access property list ID */
|
||||
hsize_t userblock; /* userblock size retrieved from FCPL */
|
||||
size_t off_size; /* size of offsets in the file */
|
||||
size_t len_size; /* size of lengths in the file */
|
||||
@ -2764,7 +2764,7 @@ dump_fcpl(hid_t fid)
|
||||
unsigned freelist; /* free list version # */
|
||||
unsigned stab; /* symbol table entry version # */
|
||||
unsigned shhdr; /* shared object header version # */
|
||||
hid_t fdriver; /* file driver */
|
||||
hid_t fdriver; /* file driver */
|
||||
char dname[32]; /* buffer to store driver name */
|
||||
unsigned sym_lk; /* symbol table B-tree leaf 'K' value */
|
||||
unsigned sym_ik; /* symbol table B-tree internal 'K' value */
|
||||
@ -2781,7 +2781,7 @@ dump_fcpl(hid_t fid)
|
||||
fdriver=H5Pget_driver(fapl);
|
||||
H5Pclose(fapl);
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
/*-------------------------------------------------------------------------
|
||||
* SUPER_BLOCK
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -5,7 +5,7 @@ usage: h5dump [OPTIONS] file
|
||||
OPTIONS
|
||||
-h, --help Print a usage message and exit
|
||||
-n, --contents Print a list of the file contents and exit
|
||||
-B, --bootblock Print the content of the boot block
|
||||
-B, --superblock Print the content of the super block
|
||||
-H, --header Print the header only; no data is displayed
|
||||
-A, --onlyattr Print the header and value of attributes
|
||||
-i, --object-ids Print the object ids
|
||||
|
Loading…
Reference in New Issue
Block a user