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 committed Jun 17, 2018
1 parent 27d17d1 commit f8d4280
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 f8d4280

Please sign in to comment.