From 3e96eb5c6a3aaa945958496652c2116d9b3157ba Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Fri, 8 Nov 2019 11:12:59 -0800 Subject: [PATCH] doc nit --- pollen/private/ts.rktd | 2 +- pollen/scribblings/raco.scrbl | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index e347b15..2aae4fc 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1573239737 +1573240379 diff --git a/pollen/scribblings/raco.scrbl b/pollen/scribblings/raco.scrbl index bbf2e5d..3b9816c 100644 --- a/pollen/scribblings/raco.scrbl +++ b/pollen/scribblings/raco.scrbl @@ -49,7 +49,7 @@ Displays a list of available commands. Start the project server from the current directory using the default port, which is the value of the parameter @racket[current-server-port] (by default, port @id[default-project-server-port]). -This command can be invoked with two optional arguments, and several optional switches. +This command can be invoked with two optional arguments, and two optional switches. @racket[raco pollen start _path] will start the project server from @racket[_path] rather than the current directory (making @racket[_path] its root directory). @@ -76,6 +76,9 @@ Adding the optional @exec{--local} switch will restrict the project server to re This command can be invoked two ways: in source mode or directory mode. +In both modes, the optional @exec{--dry-run} or @exec{-d} switch prints the paths that would be rendered by this command without actually doing so. + + @bold{Source mode}: @racket[raco pollen render _sourceĀ ...] will render only the source paths specified in @racket[_source ...]. Consistent with the usual command-line idiom, this can be a single path, a list of paths, or a pattern: @terminal{ @@ -115,8 +118,6 @@ As a rule of thumb, parallel rendering works best if you do @exec{raco setup} fi > raco pollen render -p } -The optional @exec{--dry-run} or @exec{-d} switch prints the paths that would be rendered by this command without actually doing so. - @italic{Warning}: In all cases, the newly rendered output file will overwrite any previous output file.