Skip to content

Commit

Permalink
Merge pull request #114 from dahlia/cli
Browse files Browse the repository at this point in the history
Fix regressive things PR #111 missed
  • Loading branch information
dahlia authored Mar 13, 2017
2 parents 81a4743 + 011a503 commit 7efc37d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Getting started
In order to compile a Nirum package (`examples/`) to a Python package:

$ mkdir out/ # directory to place generated Python files
$ nirum -o out/ examples/
$ nirum -t python -o out/ examples/

For more infomration, use `--help` option:

Expand All @@ -64,7 +64,7 @@ For more infomration, use `--help` option:
-h,--help Show this help text
-v,--version Show version
-o,--output-dir DIR Output directory
-t,--target TARGET Target language name
-t,--target TARGET Target language name. Available: docs, python
DIR Package directory

Building
Expand Down
1 change: 0 additions & 1 deletion nirum.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ library
, bytestring
, cmark >=0.5 && <0.6
, containers >=0.5.6.2 && <0.6
, cmdargs >=0.10.14 && <0.11
, directory >=1.2.5 && <1.4
, email-validate >=2.0.0 && <3.0.0
, filepath >=1.4 && <1.5
Expand Down
3 changes: 2 additions & 1 deletion src/Nirum/Cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ main = do
OPT.help "Output directory") <*>
OPT.strOption
(OPT.long "target" <> OPT.short 't' <> OPT.metavar "TARGET" <>
OPT.help "Target language name") <*>
OPT.help [qq|Target language name.
Available: $targetNamesText|]) <*>
OPT.strArgument
(OPT.metavar "DIR" <> OPT.help "Package directory")

0 comments on commit 7efc37d

Please sign in to comment.