From a1294dfb45dd2a04a3278a032c685a6bac6f54d8 Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Tue, 20 May 2008 20:48:44 +0000 Subject: [PATCH] make -m and -x play together better git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@190 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- test/test.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/test.c b/test/test.c index a2768d22..5f44b17d 100644 --- a/test/test.c +++ b/test/test.c @@ -177,12 +177,13 @@ int main(int argc, char ** argv) { } if (!play) { - if (metaonly) printf("metadata for %s\n",argv[optind]); - else if (adxencd) { - printf("adxencd \"%s\"",outfilename); + if (adxencd) { + printf("adxencd"); + if (!metaonly) printf(" \"%s\"",outfilename); if (s->loop_flag) printf(" -lps%d -lpe%d",s->loop_start_sample,s->loop_end_sample); printf("\n"); } + else if (metaonly) printf("metadata for %s\n",argv[optind]); else printf("decoding %s\n",argv[optind]); } if (!play && !adxencd) {