CrabDude / nodejs-proxy-demo

Node.js proxy server demo
0 stars 4 forks source link

bode --log or --logfile is not working on iojs #3

Open linghuaj opened 9 years ago

linghuaj commented 9 years ago

Hey @CrabDude

I found that, if you do bode --log, or bode -- logfile. argv won't take the parameter.

Unless you use customized word. like https://github.com/vanessachem/codpath-proxy-server/blob/master/index.js#L13

Is --log or --logfile some reserved word, and you cannot use it for yargs?

CrabDude commented 9 years ago

Sorry about that. The argument name isn't critical. I'll look into and update the prework accordingly.

On Wednesday, April 22, 2015, Linghua Jin notifications@github.com wrote:

Hey @CrabDude https://github.com/CrabDude

I found that, if you do bode --log, or bode -- logfile. argv won't take the parameter.

Unless you use customized word. like https://github.com/vanessachem/codpath-proxy-server/blob/master/index.js#L13

Is --log or --logfile some reserved word, and you cannot use it for yargs?

— Reply to this email directly or view it on GitHub https://github.com/CrabDude/nodejs-proxy-demo/issues/3.

Adam Crabtree Noderiety PO Box 3823 Los Altos, CA 94024 Telephone: _(_469) 777-8415 https://mail.google.com/ Email: dude@noderiety.com

This e-mail message is intended for the use of the addressee(s) only and may contain information that is privileged-confidential and exempt from disclosure under applicable law. If the reader of the message is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you receive this communication in error, please notify us immediately by reply e-mail and delete the original message. Thank you.

linghuaj commented 9 years ago

np.

I was confused because from video it looks like you can use --logfile as arguments. So I was not sure if there is could be setup different.

CrabDude commented 9 years ago

There probably is. That's what I think is the case. I need to look into it though.

On Thursday, April 23, 2015, Linghua Jin notifications@github.com wrote:

np.

I was confused because from video it looks like you can use --logfile as arguments. So I was not sure if there is could be setup different.

— Reply to this email directly or view it on GitHub https://github.com/CrabDude/nodejs-proxy-demo/issues/3#issuecomment-95679181 .

Adam Crabtree Noderiety PO Box 3823 Los Altos, CA 94024 Telephone: _(_469) 777-8415 https://mail.google.com/ Email: dude@noderiety.com

This e-mail message is intended for the use of the addressee(s) only and may contain information that is privileged-confidential and exempt from disclosure under applicable law. If the reader of the message is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you receive this communication in error, please notify us immediately by reply e-mail and delete the original message. Thank you.