From 1d0fcf308929bde5749b889373d5c2f338fa8969 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Fri, 28 Sep 2001 23:10:45 +0000 Subject: uniform command line options handling --- mixlib/mix.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'mixlib/mix.c') diff --git a/mixlib/mix.c b/mixlib/mix.c index 8f49303..af1ba40 100644 --- a/mixlib/mix.c +++ b/mixlib/mix.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mix.c : * Implementation of the functions declared in mix.h * ------------------------------------------------------------------ - * $Id: mix.c,v 1.3 2001/09/24 23:26:31 jao Exp $ + * $Id: mix.c,v 1.4 2001/09/28 23:10:45 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2000, 2001 Free Software Foundation, Inc. * @@ -60,6 +60,14 @@ const char *MIX_GPL_LICENSE = "under the terms of the GNU General Public License.\n" "For more information about these matters, see the files named COPYING.\n"; +void +mix_print_license (const gchar *program) +{ + fprintf (stderr, _("%s (GNU MDK %s)\n\n"), + program, VERSION); + fprintf (stderr, MIX_GPL_LICENSE); +} + /* check dir, and create it if it doesn't exist */ gboolean mix_stat_dir (const gchar *dirname, const gchar *alias) -- cgit v1.2.3