Skip to content

Commit cc878bf

Browse files
committed
Update docs for options.
1 parent 1755fc6 commit cc878bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ To generate documentation (from within this directory):
3232

3333
Try it out:
3434

35-
$ fay -autorun examples/console.hs
35+
$ fay --autorun examples/console.hs
3636
$ node examples/console.js
3737
Hello, World!
3838

@@ -42,6 +42,6 @@ Cabal-dev also works:
4242
$ cabal-dev/bin/fay-tests
4343
$ cabal-dev/bin/fay-docs
4444

45-
$ cabal-dev/bin/fay -autorun examples/console.hs
45+
$ cabal-dev/bin/fay --autorun examples/console.hs
4646
$ node examples/console.js
4747
Hello, World!

src/Docs.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ thesetup = do
236236
pre $ code "$ cabal install -fdevel"
237237
pre $ code "$ fay-tests"
238238
p "To compile a Fay program, run:"
239-
pre $ code "$ fay -autorun foo.hs"
240-
p $ do "The "; code "-autorun"; " flag will make sure that the "; code "main"; " function is called."
239+
pre $ code "$ fay --autorun foo.hs"
240+
p $ do "The "; code "--autorun"; " flag will make sure that the "; code "main"; " function is called."
241241
p "You can also install this via cabal-dev, but be sure to run the commands from the cabal-dev bin dir: "
242-
pre $ code "$ cabal-dev install\n$ cabal-dev/bin/fay -autorun foo.hs"
242+
pre $ code "$ cabal-dev install\n$ cabal-dev/bin/fay --autorun foo.hs"
243243
h3 "Generate this Documentation"
244244
p "This web page is generated by the following call in the project directory:"
245245
pre $ code "$ fay-docs"

0 commit comments

Comments
 (0)