Archived
1
0
Fork 0

Can gen_groups in different years

This commit is contained in:
Mercier Pierre-Olivier 2013-09-18 07:54:34 +02:00
parent 8e4aab3940
commit 188931f0d4

View file

@ -10,11 +10,11 @@ use ACU::API::Base;
use ACU::API::Projects;
if ($#ARGV == 0)
if ($#ARGV == 0 or $#ARGV == 1)
{
API::Projects::gen_groups($ARGV[0]);
API::Projects::gen_groups($ARGV[0], $ARGV[1]);
}
else
{
say "$0 <project_id>";
say "$0 <project_id> [year]";
}