Whamcloud - gitweb
Remove EXT2FS_VERSION from the version display, since it
authorTheodore Ts'o <tytso@mit.edu>
Mon, 27 Aug 2001 16:44:23 +0000 (12:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 27 Aug 2001 16:44:23 +0000 (12:44 -0400)
only confuses people.

Make fsck's version display be consistent with the other e2fsprogs
programs.

13 files changed:
debugfs/ChangeLog
debugfs/debugfs.c
e2fsck/ChangeLog
e2fsck/unix.c
misc/ChangeLog
misc/chattr.c
misc/dumpe2fs.c
misc/e2image.c
misc/fsck.c
misc/lsattr.c
misc/mke2fs.c
misc/mklost+found.c
misc/tune2fs.c

index aae89e3..8ee0f75 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-27  Theodore Tso  <tytso@valinux.com>
+
+       * debugfs.c (main): Remove EXT2FS_VERSION from the version
+               display, since it only confuses people.
+
 2001-08-15  Theodore Tso  <tytso@valinux.com>
 
        * Release of E2fsprogs 1.23
index dadf29f..26b4e62 100644 (file)
@@ -1537,9 +1537,8 @@ int main(int argc, char **argv)
        char            *tmp;
        
        initialize_ext2_error_table();
-       fprintf (stderr, "debugfs %s, %s for EXT2 FS %s, %s\n",
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       fprintf (stderr, "debugfs %s (%s)\n", E2FSPROGS_VERSION,
+                E2FSPROGS_DATE);
 
        while ((c = getopt (argc, argv, "iwcR:f:b:s:V")) != EOF) {
                switch (c) {
index 9c43562..18a142f 100644 (file)
@@ -1,5 +1,8 @@
 2001-08-27  Theodore Tso  <tytso@valinux.com>
 
+       * unix.c (main): Remove EXT2FS_VERSION from the version display,
+               since it only confuses people.
+
        * pass1.c (strnlen): Provide strnlen if libc doesn't.
 
 2001-08-15  Theodore Tso  <tytso@valinux.com>
index 431d03c..c15b1d3 100644 (file)
@@ -701,9 +701,8 @@ int main (int argc, char *argv[])
 #endif
 
        if (!(ctx->options & E2F_OPT_PREEN) || show_version_only)
-               fprintf (stderr, _("e2fsck %s, %s for EXT2 FS %s, %s\n"),
-                        my_ver_string, my_ver_date, EXT2FS_VERSION,
-                        EXT2FS_DATE);
+               fprintf (stderr, "e2fsck %s (%s)\n", my_ver_string,
+                        my_ver_date);
 
        if (show_version_only) {
                fprintf(stderr, _("\tUsing %s, %s\n"),
index 44d4d10..24caca2 100644 (file)
@@ -1,3 +1,12 @@
+2001-08-27  Theodore Tso  <tytso@valinux.com>
+
+       * fsck.c (main): Make version display consisstent with the other
+               e2fsprogs programs.
+
+       * lsattr.c, chattr.c, mke2fs.c, tune2fs.c, dumpe2fs.c, e2image.c,
+               mklost+found.c: Remove EXT2FS_VERSION from the version
+               display, since it only confuses people.
+
 2001-08-18  Theodore Tso  <tytso@valinux.com>
 
        * tune2fs.c (remove_journal_device): Remove unused variable
index 56fef2f..730e7b8 100644 (file)
@@ -284,9 +284,8 @@ int main (int argc, char ** argv)
                exit (1);
        }
        if (verbose)
-               fprintf (stderr, _("chattr %s, %s for EXT2 FS %s, %s\n"),
-                        E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                        EXT2FS_VERSION, EXT2FS_DATE);
+               fprintf (stderr, "chattr %s (%s)\n",
+                        E2FSPROGS_VERSION, E2FSPROGS_DATE);
        for (j = i; j < argc; j++)
                change_attributes (argv[j]);
        exit(0);
index e5caac2..0f23ff1 100644 (file)
@@ -260,9 +260,8 @@ int main (int argc, char ** argv)
        textdomain(NLS_CAT_NAME);
 #endif
        initialize_ext2_error_table();
-       fprintf (stderr, _("dumpe2fs %s, %s for EXT2 FS %s, %s\n"),
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       fprintf (stderr, "dumpe2fs %s (%s)\n", E2FSPROGS_VERSION,
+                E2FSPROGS_DATE);
        if (argc && *argv)
                program_name = *argv;
        
index 600cd7b..fe2f2b2 100644 (file)
@@ -410,9 +410,8 @@ int main (int argc, char ** argv)
        bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
        textdomain(NLS_CAT_NAME);
 #endif
-       fprintf (stderr, _("e2image %s, %s for EXT2 FS %s, %s\n"),
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       fprintf (stderr, "e2image %s (%s)\n", E2FSPROGS_VERSION,
+                E2FSPROGS_DATE);
        if (argc && *argv)
                program_name = *argv;
        initialize_ext2_error_table();
index 05c69cb..10cf39f 100644 (file)
@@ -1074,8 +1074,7 @@ int main(int argc, char *argv[])
        PRS(argc, argv);
 
        if (!notitle)
-               printf(_("Parallelizing fsck version %s (%s)\n"),
-                       E2FSPROGS_VERSION, E2FSPROGS_DATE);
+               printf("fsck %s (%s)\n", E2FSPROGS_VERSION, E2FSPROGS_DATE);
 
        fstab = getenv("FSTAB_FILE");
        if (!fstab)
index 2d8de69..9e1cc33 100644 (file)
@@ -178,9 +178,8 @@ int main (int argc, char ** argv)
                }
 
        if (verbose)
-               fprintf (stderr, _("lsattr %s, %s for EXT2 FS %s, %s\n"),
-                        E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                        EXT2FS_VERSION, EXT2FS_DATE);
+               fprintf (stderr, "lsattr %s (%s)\n",
+                        E2FSPROGS_VERSION, E2FSPROGS_DATE);
        if (optind > argc - 1)
                lsattr_args (".");
        else
index a09326a..070f7a4 100644 (file)
@@ -809,9 +809,8 @@ static void PRS(int argc, char *argv[])
                param.s_feature_ro_compat = 0;
        }
 #endif
-       fprintf (stderr, _("mke2fs %s, %s for EXT2 FS %s, %s\n"),
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       fprintf (stderr, "mke2fs %s (%s)\n", E2FSPROGS_VERSION,
+                E2FSPROGS_DATE);
        if (argc && *argv)
                program_name = *argv;
        while ((c = getopt (argc, argv,
index 7d5d7c0..0bc3239 100644 (file)
@@ -41,9 +41,8 @@ int main (int argc, char ** argv)
        bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
        textdomain(NLS_CAT_NAME);
 #endif
-       fprintf (stderr, _("mklost+found %s, %s for EXT2 FS %s, %s\n"),
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       fprintf (stderr, "mklost+found %s (%s)\n", E2FSPROGS_VERSION,
+                E2FSPROGS_DATE);
        if (argc != 1) {
                fprintf (stderr, _("Usage: mklost+found\n"));
                exit(1);
index e68d132..c53d20d 100644 (file)
@@ -430,9 +430,7 @@ static void parse_tune2fs_options(int argc, char **argv)
        struct group * gr;
        struct passwd * pw;
 
-       printf(_("tune2fs %s, %s for EXT2 FS %s, %s\n"),
-                E2FSPROGS_VERSION, E2FSPROGS_DATE,
-                EXT2FS_VERSION, EXT2FS_DATE);
+       printf("tune2fs %s (%s)\n", E2FSPROGS_VERSION, E2FSPROGS_DATE);
        while ((c = getopt (argc, argv, "c:e:fg:i:jlm:r:s:u:C:J:L:M:O:U:")) != EOF)
                switch (c)
                {