aboutsummaryrefslogtreecommitdiff
path: root/tprint/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tprint/src/Main.hs')
-rw-r--r--tprint/src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tprint/src/Main.hs b/tprint/src/Main.hs
index 971e655..5b26bfe 100644
--- a/tprint/src/Main.hs
+++ b/tprint/src/Main.hs
@@ -47,7 +47,7 @@ withInput :: Input -> (Handle -> IO a) -> IO a
47withInput (_, Stdin) = ($ stdin) 47withInput (_, Stdin) = ($ stdin)
48withInput (_, ReadFile f) = withFile f ReadMode 48withInput (_, ReadFile f) = withFile f ReadMode
49 49
50humanJobStatus :: JobStatus -> Maybe (Range PrinterId) -> String 50humanJobStatus :: JobStatus -> Maybe PrinterId -> String
51humanJobStatus (Queued (PrinterId n)) Nothing = "queued at printer #" ++ show n 51humanJobStatus (Queued (PrinterId n)) Nothing = "queued at printer #" ++ show n
52humanJobStatus (Queued _) _ = "queued" 52humanJobStatus (Queued _) _ = "queued"
53humanJobStatus (Printing (PrinterId n)) Nothing = "printing on printer #" ++ show n 53humanJobStatus (Printing (PrinterId n)) Nothing = "printing on printer #" ++ show n