feedhenry / fh-fhc

FeedHenry CLI, the Command Line Interface to FeedHenry
Other
26 stars 66 forks source link

"fhc local"'s port parameter was renamed #90

Closed compjuicer closed 10 years ago

compjuicer commented 10 years ago

When I ran "fhc local" for an FH2 cloud app, the port parameter seemed to be ignored. After checking the fhc source code I found the port parameter was renamed to clientPort. However, the documentation from "fhc help local" still shows the old port parameter.

The problem:

$ fhc -v 0.31.0-469

$ fhc local port=7000 cloudPort=7001 starting cloud code on port 7001 Serving App files on port: 8000

$ fhc local clientPort=7000 cloudPort=7001 starting cloud code on port 7001 Serving App files on port: 7000

The documetation:

https://github.com/feedhenry/fh-fhc/blob/master/doc/local.md https://github.com/feedhenry/fh-fhc/blob/master/man1/local.1

SYNOPSIS fhc local [packages=<package[,package...]>] [port=] [cloudPort=] [redisHost=] [redisPort=] [redisPassword=] [debug=true] [debugBrk=true] [decoupled=true] [logprefix=false] [loghighlight=true]

EXAMPLE fhc local packages=ios,iphone port=8000 redisHost=127.0.0.1

mmurphy commented 10 years ago

Thanks, compjuicer. We'll update the documentation, and publish to npm

mmurphy commented 10 years ago

Hi compjuicer, that's been updated in https://github.com/feedhenry/fh-fhc/pull/91 and a new build published to npm

Thanks for letting us know.