diff options
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r-- | Biz/Bild.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs index d178a83..a3b8856 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -221,7 +221,7 @@ move args = |> readMaybe |> \case Nothing -> panic "could not read --time argument" - Just n -> n + Just n -> (n == 0) ?: (-1, n) printOrBuild :: Analysis -> IO [ExitCode] printOrBuild targets | Map.null targets = @@ -284,7 +284,7 @@ Options: --test, -t Run tests on a target after building --loud, -l Show all output from compiler --json, -j Print the build plan as JSON, don't build - --time N Set timeout to N minutes [default: 10] + --time N Set timeout to N minutes, 0 means never timeout [default: 10] --help, -h Print this info |] |