Skip to content

Commit 9aa05e3

Browse files
committed
Quotes psc-docs examples to avoid some shells incorrectly globbing files.
1 parent 63be32a commit 9aa05e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

psc-docs/Main.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,16 @@ examples =
230230
PP.vcat $ map PP.text
231231
[ "Examples:"
232232
, " print documentation for Data.List to stdout:"
233-
, " psc-docs src/**/*.purs bower_components/*/src/**/*.purs \\"
233+
, " psc-docs \"src/**/*.purs\" \"bower_components/*/src/**/*.purs\" \\"
234234
, " --docgen Data.List"
235235
, ""
236236
, " write documentation for Data.List to docs/Data.List.md:"
237-
, " psc-docs src/**/*.purs bower_components/*/src/**/*.purs \\"
237+
, " psc-docs \"src/**/*.purs\" \"bower_components/*/src/**/*.purs\" \\"
238238
, " --docgen Data.List:docs/Data.List.md"
239239
, ""
240240
, " write documentation for Data.List to docs/Data.List.md, and"
241241
, " documentation for Data.List.Lazy to docs/Data.List.Lazy.md:"
242-
, " psc-docs src/**/*.purs bower_components/*/src/**/*.purs \\"
242+
, " psc-docs \"src/**/*.purs\" \"bower_components/*/src/**/*.purs\" \\"
243243
, " --docgen Data.List:docs/Data.List.md \\"
244244
, " --docgen Data.List.Lazy:docs/Data.List.Lazy.md"
245245
]

0 commit comments

Comments
 (0)