1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Update some output based on flag being set

Summary: Makes sense now

Test Plan: Get someone else to test it

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T3342

Differential Revision: https://secure.phabricator.com/D6307
This commit is contained in:
Gareth Evans 2013-06-25 15:26:14 -07:00 committed by epriestley
parent 4f3dee80e5
commit a746ad8757

View file

@ -206,11 +206,14 @@ EOTEXT
}
echo "Creating new libphutil library in '{$path}'.\n";
echo "Choose a name for the new library.\n";
do {
$name = $this->getArgument("library-name");
if ($name === null) {
echo "Choose a name for the new library.\n";
$name = phutil_console_prompt('What do you want to name this library?');
} else {
echo "Using library name {$name}.\n";
}
if (preg_match('/^[a-z-]+$/', $name)) {
break;