From 24ab888dd6740ee1797e02684f1f9a5ea0083dfe Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 17 Aug 2010 16:07:29 +0000 Subject: [PATCH] Fixed minor issue 381 git-svn-id: svn://192.168.202.10@1503 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/branches/agc_2.2.0/bin/ADMIN_backup.pl | 5 +++-- agc_2-X/trunk/bin/ADMIN_backup.pl | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/agc_2-X/branches/agc_2.2.0/bin/ADMIN_backup.pl b/agc_2-X/branches/agc_2.2.0/bin/ADMIN_backup.pl index 3d8b8e7d..90044227 100644 --- a/agc_2-X/branches/agc_2.2.0/bin/ADMIN_backup.pl +++ b/agc_2-X/branches/agc_2.2.0/bin/ADMIN_backup.pl @@ -15,6 +15,7 @@ # 80611-0549 - Added DB option to backup all tables except for log tables # 90620-1851 - Moved mysqldump bin lookup to database backup section # 100211-0910 - Added crontab backup and voicemail bacup option +# 100817-1202 - Fixed test option bug # $secT = time(); @@ -56,7 +57,7 @@ if (length($ARGV[0])>1) print " [--ftp-transfer] = Transfer backup to FTP server\n"; print " [--debugX] = super debug\n"; print " [--debug] = debug\n"; - print " [-t] = test\n"; + print " [--test] = test\n"; exit; } else @@ -71,7 +72,7 @@ if (length($ARGV[0])>1) $DBX=1; print "\n----- SUPER DEBUG -----\n\n"; } - if ($args =~ /-t/i) + if ($args =~ /--test/i) { $T=1; $TEST=1; print "\n-----TESTING -----\n\n"; diff --git a/agc_2-X/trunk/bin/ADMIN_backup.pl b/agc_2-X/trunk/bin/ADMIN_backup.pl index 3d8b8e7d..90044227 100644 --- a/agc_2-X/trunk/bin/ADMIN_backup.pl +++ b/agc_2-X/trunk/bin/ADMIN_backup.pl @@ -15,6 +15,7 @@ # 80611-0549 - Added DB option to backup all tables except for log tables # 90620-1851 - Moved mysqldump bin lookup to database backup section # 100211-0910 - Added crontab backup and voicemail bacup option +# 100817-1202 - Fixed test option bug # $secT = time(); @@ -56,7 +57,7 @@ if (length($ARGV[0])>1) print " [--ftp-transfer] = Transfer backup to FTP server\n"; print " [--debugX] = super debug\n"; print " [--debug] = debug\n"; - print " [-t] = test\n"; + print " [--test] = test\n"; exit; } else @@ -71,7 +72,7 @@ if (length($ARGV[0])>1) $DBX=1; print "\n----- SUPER DEBUG -----\n\n"; } - if ($args =~ /-t/i) + if ($args =~ /--test/i) { $T=1; $TEST=1; print "\n-----TESTING -----\n\n";