Skip to content

Commit 52aa9a1

Browse files
committed
bug fixed for run dev:server
1 parent f298e66 commit 52aa9a1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/BuiltIn/DevServerCommand.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
namespace Inhere\Console\BuiltIn;
1010

1111
use Inhere\Console\Command;
12+
use Inhere\Console\Utils\CliUtil;
1213

1314
/**
1415
* Class DevServerCommand
@@ -17,24 +18,24 @@
1718
class DevServerCommand extends Command
1819
{
1920
protected static $name = 'dev:server';
20-
protected static $description = 'Start a php built-in server for development';
21+
protected static $description = 'Start a php built-in http server for development';
2122

2223
public static function aliases(): array
2324
{
2425
return ['dev-server'];
2526
}
2627

2728
/**
28-
* start a php built-in server for development
29+
* start a php built-in http server for development
2930
* @usage
3031
* {command} [-S HOST:PORT]
3132
* {command} [-H HOST] [-p PORT]
3233
* {command} [-S HOST:PORT] [file=]web/index.php
3334
* @options
34-
* -S STRING The server address. e.g 127.0.0.1:8552
35+
* -S STRING The http server address. e.g 127.0.0.1:8552
3536
* -t STRING The document root dir for server(<comment>web</comment>)
3637
* -H,--host STRING The server host address(<comment>127.0.0.1</comment>)
37-
* -p,--port INTEGER The server port address(<comment>8552</comment>)
38+
* -p,--port INTEGER The server port number(<comment>8552</comment>)
3839
* @arguments
3940
* file=STRING The entry file for server. e.g web/index.php
4041
* @example

0 commit comments

Comments
 (0)