@@ -64,9 +64,15 @@ |
||
| 64 | 64 | $show = $args->hasOption('show'); |
| 65 | 65 | $list = $args->hasOption('list'); |
| 66 | 66 | |
| 67 | - if ($images) return $this->shower()->showImages(); |
|
| 68 | - if ($show) return $this->shower()->showPipelines(); |
|
| 69 | - if ($list) return $this->shower()->showPipelineIds(); |
|
| 67 | + if ($images) { |
|
| 68 | + return $this->shower()->showImages(); |
|
| 69 | + } |
|
| 70 | + if ($show) { |
|
| 71 | + return $this->shower()->showPipelines(); |
|
| 72 | + } |
|
| 73 | + if ($list) { |
|
| 74 | + return $this->shower()->showPipelineIds(); |
|
| 75 | + } |
|
| 70 | 76 | |
| 71 | 77 | return null; |
| 72 | 78 | } |