Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Fix help options ensuring the --all argument is printed #46

Merged
merged 1 commit into from Oct 18, 2017

Conversation

phillipj
Copy link
Contributor

I small fix where a ; resulted in the last line of the help text didn't get printed.

Before

$ flow-node -h
Usage: flow-node [options] [ script.js ] [arguments]

Options:
  -h, --help            Show this message
  -v, --version         Prints the current version of flow-node
  -e, --eval script     Evaluate script
  -p, --print script    Evaluate script and print result
  -c, --check           Syntax check script without executing

After

$ flow-node -h
Usage: flow-node [options] [ script.js ] [arguments]

Options:
  -h, --help            Show this message
  -v, --version         Prints the current version of flow-node
  -e, --eval script     Evaluate script
  -p, --print script    Evaluate script and print result
  -c, --check           Syntax check script without executing
  -a, --all             Interpret all files as flow-typed, not just those with a @flow comment

@leebyron leebyron merged commit 58b4bbf into facebookarchive:master Oct 18, 2017
@leebyron
Copy link
Contributor

Thanks!

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