Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dev
strapi
Commits
864bf93d
Commit
864bf93d
authored
Jun 19, 2018
by
Aurelsicoko
Browse files
Make the option parameters optionals
parent
059859d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/strapi/bin/strapi.js
View file @
864bf93d
...
...
@@ -65,8 +65,8 @@ program
// `$ strapi start`
program
.
command
(
'
start
'
)
.
option
(
'
--path
<
path
>
'
,
'
Application path
'
)
.
option
(
'
--port
<
port
>
'
,
'
Application port
'
)
.
option
(
'
--path
[
path
]
'
,
'
Application path
'
,
''
)
.
option
(
'
--port
[
port
]
'
,
'
Application port
'
,
''
)
.
description
(
'
start your Strapi application
'
)
.
action
(
require
(
'
./strapi-start
'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment