Added --quiet option to AST_CRON_audio_1_move_VDonly.pl script

git-svn-id: svn://192.168.202.10@2571 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2016-08-01 03:41:06 +00:00
parent 3cf4c16f4a
commit b0f29429b4
+6 -1
View File
@@ -51,6 +51,7 @@ if (length($ARGV[0])>1)
{
print "allowed run time options:\n";
print " [--help] = this screen\n";
print " [--quiet] = suppress output, if possible\n";
print " [--debug] = debug\n";
print " [--debugX] = super debug\n";
print " [--test] = test\n";
@@ -69,6 +70,10 @@ if (length($ARGV[0])>1)
}
else
{
if ($args =~ /--quiet/)
{
$q=1;
}
if ($args =~ /--debug/i)
{
$DB=1;
@@ -82,7 +87,7 @@ if (length($ARGV[0])>1)
if ($args =~ /--test/)
{
$T=1; $TEST=1;
print "\n-----TESTING -----\n\n";
if ($q < 1) {print "\n-----TESTING -----\n\n";}
}
if ($args =~ /--HTTPS/i)
{