Can gen_groups in different years
This commit is contained in:
parent
8e4aab3940
commit
188931f0d4
1 changed files with 3 additions and 3 deletions
|
@ -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]";
|
||||
}
|
||||
|
|
Reference in a new issue