Skip to content

Commit d7b0aa9

Browse files
committed
Fixed workspace use
1 parent 93b3113 commit d7b0aa9

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public function configure()
1313
$this->setName('shell:alias:list');
1414
$this->setDescription('List all the registered aliases');
1515
$this->setHelp(<<<EOT
16+
List the aliases as defined in <info>~/.phpcrsh/aliases.yml</info>.
1617
EOT
1718
);
1819
}

src/PHPCR/Shell/Resources/config.dist/alias.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
aliases: shell:alias:list
33

44
# MySQL commands
5-
use: workspace:use
5+
use: workspace:use {arg1}
66
workspaces: workspace:list
77

88
# Filesystem commands

src/PHPCR/Shell/Subscriber/AliasSubscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public function handleAlias(CommandPreRunEvent $event)
7171
}
7272

7373
$command = trim($command);
74-
error_log($command);
7574

7675
$newInput = new StringInput($command);
7776
$event->setInput($newInput);

0 commit comments

Comments
 (0)