diff --git a/src/Command/NewSite.php b/src/Command/NewSite.php index d2e127ac4..ce4597b3c 100644 --- a/src/Command/NewSite.php +++ b/src/Command/NewSite.php @@ -133,8 +133,8 @@ protected function execute(InputInterface $input, OutputInterface $output) $output->writeln(\sprintf('Your new website is created in %s.', realpath($this->getPath()))); $this->io->newLine(); $this->io->listing([ - 'Start the built-in preview server with `' . $_SERVER['argv'][0] . ' serve`', - 'You can create a new page with `' . $_SERVER['argv'][0] . ' new:page`', + 'Start the built-in preview server with `' . basename($_SERVER['argv'][0]) . ' serve`', + 'You can create a new page with `' . basename($_SERVER['argv'][0]) . ' new:page`', ]); $this->io->text('Visit https://cecil.app for documentation and more.'); } catch (\Exception $e) {