File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ To generate documentation (from within this directory):
3232
3333Try 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!
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments