From 946af0e1ef9437b7dc5b2db0b6b7d03b9220eee3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 20 Sep 2002 22:41:19 +0000 Subject: [PATCH] uhm, proper name Original commit message from CVS: uhm, proper name --- tools/Makefile.am | 8 ++++---- tools/{gst-md5.1 => gst-md5sum.1} | 6 +++--- tools/{gst-md5.c => gst-md5sum.c} | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) rename tools/{gst-md5.1 => gst-md5sum.1} (88%) rename tools/{gst-md5.c => gst-md5sum.c} (96%) diff --git a/tools/Makefile.am b/tools/Makefile.am index 9f59d3b173..5d0d3b2f28 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -14,19 +14,19 @@ bin_PROGRAMS = gst-launch \ $(GST_REGISTRY_SRC) \ gst-inspect \ $(GST_LOADSAVE_SRC) \ - gst-md5 \ + gst-md5sum \ gst-complete bin_SCRIPTS = gst-feedback -man_MANS = gst-launch.1 gst-md5.1 gst-register.1 gst-inspect.1 \ +man_MANS = gst-launch.1 gst-md5sum.1 gst-register.1 gst-inspect.1 \ gst-complete.1 gst-compprep.1 gst-xmllaunch.1 \ gst-feedback.1 gst_launch_LDADD = $(GST_LIBS) #-lefence gst_launch_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" -gst_md5_LDADD = $(GST_LIBS) #-lefence -gst_md5_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" +gst_md5sum_LDADD = $(GST_LIBS) #-lefence +gst_md5sum_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" if !GST_DISABLE_REGISTRY gst_register_LDADD = $(GST_LIBS) diff --git a/tools/gst-md5.1 b/tools/gst-md5sum.1 similarity index 88% rename from tools/gst-md5.1 rename to tools/gst-md5sum.1 index 2dbd1ed908..9bd71cbc45 100644 --- a/tools/gst-md5.1 +++ b/tools/gst-md5sum.1 @@ -1,6 +1,6 @@ .TH "GStreamer" "1" "September 2002" .SH "NAME" -gst\-md5 \- get an md5sum of a GStreamer pipeline through md5sink +gst\-md5sum \- get an md5sum of a GStreamer pipeline through md5sink .SH "SYNOPSIS" \fBgst\-md5sum\fR \fI[OPTION...]\fR PARTIAL\-PIPELINE\-DESCRIPTION .SH "DESCRIPTION" @@ -10,7 +10,7 @@ a basic \fIGStreamer\fP pipeline. In theory, running - gst-md5 filesrc location=music.mp3 + gst-md5sum filesrc location=music.mp3 should print out the same md5sum as @@ -24,7 +24,7 @@ create a PARTIAL\-PIPELINE\-DESCRIPTION. . .SH "OPTIONS" .l -\fIgst\-md5\fP accepts the following options: +\fIgst\-md5sum\fP accepts the following options: .TP 8 .B \-\-help Print help synopsis and available FLAGS diff --git a/tools/gst-md5.c b/tools/gst-md5sum.c similarity index 96% rename from tools/gst-md5.c rename to tools/gst-md5sum.c index df6f5016cf..c916873f13 100644 --- a/tools/gst-md5.c +++ b/tools/gst-md5sum.c @@ -46,10 +46,10 @@ int main (int argc, char *argv[]) { /* options */ - gboolean silent = TRUE; + gboolean verbose = FALSE; gchar *exclude_args = NULL; struct poptOption options[] = { - {"verbose", 'v', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &silent, 1, + {"verbose", 'v', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &verbose, 0, "do not output status information", NULL}, POPT_TABLEEND }; @@ -85,7 +85,7 @@ main (int argc, char *argv[]) return 1; } - if (!silent) + if (verbose) { gchar **exclude_list = exclude_args ? g_strsplit (exclude_args, ",", 0) : NULL;