Arzhan Kinzhalin created RIPPLE-95:
--------------------------------------
Summary: REGRESSION: emulate command validates option incorrectly
Key: RIPPLE-95
URL: https://issues.apache.org/jira/browse/RIPPLE-95
Project: Apache Ripple
Issue Type: Bug
Reporter: Arzhan Kinzhalin
Assignee: Arzhan Kinzhalin
Reported by [~brentlintner], while validating 0.9.31 package.
{quote}
./bin/ripple emulate --remote http://google.com --port 4000
Is broken for me. I get:
~/Downloads/ripple-emulator-0.9.31-incubating$ ./bin/ripple emulate --port
2000 --remote http://google.com
Options not understood: emulate --port 2000 --remote http://google.com
The lib/cli/emulate.js module seems to validate things oddly:
https://github.com/apache/incubator-ripple/blob/master/lib/cli/emulate.js#L38-L51
{quote}
This regression was introduced in
https://github.com/apache/incubator-ripple/commit/5fcf93a50ff8eaea96ca8734f2ecb1259b48b5f3
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)