Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Chore readme examples #28

Merged
merged 5 commits into from
Oct 14, 2016
Merged

Chore readme examples #28

merged 5 commits into from
Oct 14, 2016

Conversation

jasonwilson
Copy link
Contributor

@jasonwilson jasonwilson commented Oct 14, 2016

Small update to readme to include example using -- flag for passing args.

Closes: #9, #22

@exogen
Copy link

exogen commented Oct 14, 2016

nodejs-dashboard -- node -myFlag=false --bar=true index.js

I don't really get this example, is it implying both nodejs-dashboard node index.js and nodejs-dashboard -- node index.js do the same thing?

For this specific example, would this be equivalent?

nodejs-dashboard node index.js -- -myFlag=false --bar=true

I also think we should fix the -port and -eventdelay anchors in the README in this PR; should be --port and --eventdelay.

@jasonwilson
Copy link
Contributor Author

@exogen correct, those two would be equivalent. It's just an example of how to use programs that require additional flags see: #6 (comment)

@exogen
Copy link

exogen commented Oct 14, 2016

Gotcha. LGTM!

@jasonwilson jasonwilson merged commit 397b491 into master Oct 14, 2016
@jasonwilson jasonwilson deleted the chore-readme-examples branch October 14, 2016 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants