]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Update some output based on flag being set
authorGareth Evans <garoevans@gmail.com>
Tue, 25 Jun 2013 22:26:14 +0000 (15:26 -0700)
committerepriestley <git@epriestley.com>
Tue, 25 Jun 2013 22:26:14 +0000 (15:26 -0700)
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

src/workflow/ArcanistLiberateWorkflow.php

index 28d48ccf69a7bcc89d746b984de7762170754511..509780f9942623dcf8fa7734653d216124b72801 100644 (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;