зеркало из https://github.com/mozilla/pjs.git
Also send default values to output.
This commit is contained in:
Родитель
e4827e8055
Коммит
1b1a10e431
|
@ -93,7 +93,7 @@ sub createArgument {
|
|||
$self->SUPER::createArgument(@_);
|
||||
} else {
|
||||
$self->warn(5, "going to request '$argument' from user!");
|
||||
$self->app->output->request($argument);
|
||||
$self->app->output->request(@_);
|
||||
# get input from user
|
||||
my $term = Term::ReadLine->new($self->app->name);
|
||||
my $value = $term->readline(''); # (the parameter passed is the prompt, if any)
|
||||
|
|
Загрузка…
Ссылка в новой задаче