Skip to content

Commit

Permalink
Merge pull request #10 from bunq/fix/description_echo
Browse files Browse the repository at this point in the history
Fixed missing formatting for description echo. #9
  • Loading branch information
OGKevin authored Mar 22, 2018
2 parents 349441b + 29e5915 commit 37142c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/SharedLib.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ public static function getDescriptionFromAllOptionOrStdIn(array $allOption): str
if (array_key_exists($descriptionKey, $allOption)) {
return $allOption[$descriptionKey];
} else {
echo self::ECHO_DESCRIPTION;
echo vsprintf(
self::ECHO_DESCRIPTION,
[self::INDENTATION_NORMAL, self::INDENTATION_NORMAL]
);

return static::readFromLine();
}
Expand Down

0 comments on commit 37142c3

Please sign in to comment.