]> wimlib.net Git - wimlib/commitdiff
imagex: Make error messages more consistent
authorEric Biggers <ebiggers3@gmail.com>
Sun, 19 May 2013 20:07:56 +0000 (15:07 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 19 May 2013 20:07:56 +0000 (15:07 -0500)
programs/imagex.c

index 79eb08db2d73c5909c71306949f91973e4bfc02e..0a1f77b045c0633260a75153700356ecb8697a00 100644 (file)
@@ -1928,7 +1928,7 @@ imagex_dir(int argc, tchar **argv)
                 * choose that one; otherwise, print an error. */
                num_images = wimlib_get_num_images(w);
                if (num_images != 1) {
                 * choose that one; otherwise, print an error. */
                num_images = wimlib_get_num_images(w);
                if (num_images != 1) {
-                       imagex_error(T("The file \"%"TS"\" contains %d images; Please "
+                       imagex_error(T("\"%"TS"\" contains %d images; Please "
                                       "select one."), wimfile, num_images);
                        usage(DIR);
                        ret = -1;
                                       "select one."), wimfile, num_images);
                        usage(DIR);
                        ret = -1;
@@ -2699,7 +2699,7 @@ imagex_mount_rw_or_ro(int argc, tchar **argv)
                image = 1;
                num_images = wimlib_get_num_images(w);
                if (num_images != 1) {
                image = 1;
                num_images = wimlib_get_num_images(w);
                if (num_images != 1) {
-                       imagex_error(T("The file \"%"TS"\" contains %d images; Please "
+                       imagex_error(T("\"%"TS"\" contains %d images; Please "
                                       "select one."), wimfile, num_images);
                        usage((mount_flags & WIMLIB_MOUNT_FLAG_READWRITE)
                                        ? MOUNTRW : MOUNT);
                                       "select one."), wimfile, num_images);
                        usage((mount_flags & WIMLIB_MOUNT_FLAG_READWRITE)
                                        ? MOUNTRW : MOUNT);