Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20977/ntfsprogs
Modified Files:
utils.c
Log Message:
Clarify --force usage
Index: utils.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/utils.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- utils.c 28 Sep 2005 13:47:48 -0000 1.45
+++ utils.c 30 Sep 2005 19:51:12 -0000 1.46
@@ -133,7 +133,7 @@ int utils_valid_device (const char *name
if (!S_ISBLK (st.st_mode)) {
Vprintf ("%s is not a block device.\n", name);
if (!force) {
- Eprintf ("Use the force option to work with files.\n");
+ Eprintf ("Use the --force option to work with files.\n");
return 0;
}
Vprintf ("Forced to continue.\n");
@@ -143,14 +143,14 @@ int utils_valid_device (const char *name
if (ntfs_check_if_mounted (name, &mnt_flags)) {
Vprintf ("Failed to determine whether %s is mounted: %s\n", name, strerror (errno));
if (!force) {
- Eprintf ("Use the force option to ignore this error.\n");
+ Eprintf ("Use the --force option to ignore this error.\n");
return 0;
}
Vprintf ("Forced to continue.\n");
} else if (mnt_flags & NTFS_MF_MOUNTED) {
Vprintf ("The device %s, is mounted.\n", name);
if (!force) {
- Eprintf ("Use the force option to work a mounted filesystem.\n");
+ Eprintf ("Use the --force option to work a mounted filesystem.\n");
return 0;
}
Vprintf ("Forced to continue.\n");
|