SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

check that the command isn't actually a flag #47

Closed avigoldman closed 6 years ago

avigoldman commented 6 years ago

Right now if you run heml -V it will print out the help command since -V isn't in the array of known commands.

  Usage:  <command> [options]

  Options:

    -V, --version  output the version number
    -h, --help     output usage information

  Commands:

    develop [options] <file>  Develop your email locally.
    build [options] <file>    Build an HEML email for sending in the wild.
1.1.3

This will only output the help if it is an unknown command (and not a flag)