Skip to content
Snippets Groups Projects
Commit 08781cd2 authored by adam's avatar adam
Browse files

Changed option from -c to -h, cleaned up usage

parent 09ccdadd
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ usage()
{
TFPRINTF(stderr,
_TSK_T
("usage: %s [-adDFlpruvV] [-f fstype] [-i imgtype] [-b dev_sector_size] [-m dir/] [-o imgoffset] [-z ZONE] [-s seconds] image [images] [inode]\n"),
("usage: %s [-adDFlhpruvV] [-f fstype] [-i imgtype] [-b dev_sector_size] [-m dir/] [-o imgoffset] [-z ZONE] [-s seconds] image [images] [inode]\n"),
progname);
tsk_fprintf(stderr,
"\tIf [inode] is not given, the root directory is used\n");
......@@ -49,7 +49,7 @@ usage()
"\t-m: Display output in mactime input format with\n");
tsk_fprintf(stderr,
"\t dir/ as the actual mount point of the image\n");
tsk_fprintf(stderr, "\t-c: Include MD5 checksum hash in mactime output\n");
tsk_fprintf(stderr, "\t-h: Include MD5 checksum hash in mactime output\n");
tsk_fprintf(stderr,
"\t-o imgoffset: Offset into image file (in sectors)\n");
tsk_fprintf(stderr, "\t-p: Display full path for each file\n");
......@@ -103,7 +103,7 @@ main(int argc, char **argv1)
fls_flags = TSK_FS_FLS_DIR | TSK_FS_FLS_FILE;
while ((ch =
GETOPT(argc, argv, _TSK_T("ab:dDf:Fi:m:clo:prs:uvVz:"))) > 0) {
GETOPT(argc, argv, _TSK_T("ab:dDf:Fi:m:hlo:prs:uvVz:"))) > 0) {
switch (ch) {
case _TSK_T('?'):
default:
......@@ -165,7 +165,7 @@ main(int argc, char **argv1)
fls_flags |= TSK_FS_FLS_MAC;
macpre = OPTARG;
break;
case _TSK_T('c'):
case _TSK_T('h'):
fls_flags |= TSK_FS_FLS_HASH;
break;
case _TSK_T('o'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment