[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:
Pedro Vicente Nunes 2007-12-06 11:25:51 -05:00
parent a5ba6ac397
commit c15315539b
2 changed files with 5 additions and 5 deletions

View File

@ -610,7 +610,7 @@ usage(const char *prog)
fprintf(stdout, " OPTIONS\n"); fprintf(stdout, " OPTIONS\n");
fprintf(stdout, " -h, --help Print a usage message and exit\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, " -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, " -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, " -A, --onlyattr Print the header and value of attributes\n");
fprintf(stdout, " -i, --object-ids Print the object ids\n"); fprintf(stdout, " -i, --object-ids Print the object ids\n");
@ -2756,7 +2756,7 @@ static void
dump_fcpl(hid_t fid) dump_fcpl(hid_t fid)
{ {
hid_t fcpl; /* file creation property list ID */ 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 */ hsize_t userblock; /* userblock size retrieved from FCPL */
size_t off_size; /* size of offsets in the file */ size_t off_size; /* size of offsets in the file */
size_t len_size; /* size of lengths 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 freelist; /* free list version # */
unsigned stab; /* symbol table entry version # */ unsigned stab; /* symbol table entry version # */
unsigned shhdr; /* shared object header 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 */ char dname[32]; /* buffer to store driver name */
unsigned sym_lk; /* symbol table B-tree leaf 'K' value */ unsigned sym_lk; /* symbol table B-tree leaf 'K' value */
unsigned sym_ik; /* symbol table B-tree internal '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); fdriver=H5Pget_driver(fapl);
H5Pclose(fapl); H5Pclose(fapl);
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* SUPER_BLOCK * SUPER_BLOCK
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */

View File

@ -5,7 +5,7 @@ usage: h5dump [OPTIONS] file
OPTIONS OPTIONS
-h, --help Print a usage message and exit -h, --help Print a usage message and exit
-n, --contents Print a list of the file contents 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 -H, --header Print the header only; no data is displayed
-A, --onlyattr Print the header and value of attributes -A, --onlyattr Print the header and value of attributes
-i, --object-ids Print the object ids -i, --object-ids Print the object ids