Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regressive things PR #111 missed #114

Merged
merged 3 commits into from
Mar 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")