Skip to content

Commit

Permalink
Parameter fix (#11)
Browse files Browse the repository at this point in the history
* build: update deps

* stan: port should be string

* stan: cast port integer to string

* refactor: use standard namespace cli

* fix: set debug parameter as non-named
  • Loading branch information
g105b authored Sep 23, 2021
1 parent 0036669 commit 799f18f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Cli/StartCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ public function getRequiredNamedParameterList():array {

/** @return NamedParameter[] */
public function getOptionalNamedParameterList():array {
return [
new NamedParameter("debug"),
];
return [];
}

/** @return Parameter[] */
Expand All @@ -107,6 +105,11 @@ public function getOptionalParameterList():array {
"bind",
"b"
),
new Parameter(
false,
"debug",
"d"
)
];
}
}

0 comments on commit 799f18f

Please sign in to comment.