>From 72319c9ae1ab341d9b42b5f7a55a4d55e1dcb53f Mon Sep 17 00:00:00 2001 From: Frank Dittrich Date: Wed, 27 Jun 2012 12:59:54 +0200 Subject: [PATCH] Wrong command used to determine list of dynamic formats --- jtrts.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jtrts.pl b/jtrts.pl index 7590145..239836a 100755 --- a/jtrts.pl +++ b/jtrts.pl @@ -342,10 +342,10 @@ sub loadAllValidFormatTypeStrings { # Ok, now if we have 'dynamic's, LOAD them if (grepUsage("--list=WHAT") || grepUsage("--subformat=LIST")) { if (grepUsage("--list=WHAT")) { - system ("$JOHN_EXE --subformat=LIST >JohnDynaUsage.Scr 2>&1"); + system ("$JOHN_EXE --list=subformats >JohnDynaUsage.Scr 2>&1"); } else { - system ("$JOHN_EXE --list=subformats >JohnDynaUsage.Scr 2>&1"); + system ("$JOHN_EXE --subformat=LIST >JohnDynaUsage.Scr 2>&1"); } open(FILE, "; -- 1.7.7.6