default to -a so the user always gets some output

(Logical change 1.492)
edge.strict_endians
flatcap.org!ntfs 2004-08-12 09:22:54 +00:00
parent 3353669e7e
commit 9b94d609cd
1 changed files with 9 additions and 0 deletions

View File

@ -129,6 +129,8 @@ static void version(void)
printf("Copyright (c) 2003 Lode Leroy\n");
printf("Copyright (c) 2003 Anton Altaparmakov\n");
printf("Copyright (c) 2003 Richard Russon\n");
printf("Copyright (c) 2004 Carmelo Kintana\n");
printf("Copyright (c) 2004 Giang Nguyen\n");
printf("\n%s\n%s%s\n", ntfs_gpl, ntfs_bugs, ntfs_home);
}
@ -159,6 +161,9 @@ static void usage(void)
" -x --dos Use short (DOS 8.3) names\n"
"\n",
EXEC_NAME);
printf("NOTE: If neither -a nor -s is specified, the program defaults to -a.\n\n");
printf("%s%s\n", ntfs_bugs, ntfs_home);
}
@ -255,6 +260,10 @@ static int parse_options(int argc, char *argv[])
}
}
/* defaults to -a if -s is not specified */
if (!opts.system)
opts.all++;
if (help || ver)
opts.quiet = 0;
else {