Mercurial > audlegacy
diff src/audtool/audtool_handlers_vitals.c @ 4611:895297e46ee3
Cure some 'repetitive code syndromes' from audtool.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Jun 2008 01:25:22 +0300 |
parents | 0a2255b9e80b |
children |
line wrap: on
line diff
--- a/src/audtool/audtool_handlers_vitals.c Thu Jun 05 01:05:36 2008 +0300 +++ b/src/audtool/audtool_handlers_vitals.c Thu Jun 05 01:25:22 2008 +0300 @@ -165,12 +165,11 @@ if (argc < 2) { - audtool_whine("invalid parameters for %s.", argv[0]); - audtool_whine("syntax: %s <fieldname>", argv[0]); - audtool_whine(" - fieldname example choices include but are not limited to:"); - audtool_whine(" artist, album, title, track-number, year, date,"); - audtool_whine(" genre, comment, file-name, file-ext, file-path,"); - audtool_whine(" length, formatter, custom, mtime"); + audtool_whine_args(argv[0], "<fieldname>"); + audtool_whine(" - fieldname example choices include but are not limited to:\n"); + audtool_whine(" artist, album, title, track-number, year, date,\n"); + audtool_whine(" genre, comment, file-name, file-ext, file-path,\n"); + audtool_whine(" length, formatter, custom, mtime\n"); exit(1); }