Commit e07f8d65 authored by Johannes Kanig's avatar Johannes Kanig
Browse files

fix error message

Message mentioned format string which is not allowed, also slightly more
precise (in fact %S is allowed in other places)
parent 7fe093db
......@@ -43,7 +43,7 @@ let timeregexp s =
| "m" -> add_unit Min
| "s" -> add_unit Sec
| "i" -> add_unit Msec
| _ -> failwith "unknown format specifier, use %%h, %%m, %%s, %%i, %%S"
| _ -> failwith "unknown time format specifier, use %%h, %%m, %%s, %%i"
let s = Str.global_substitute cmd_regexp replace s in
let group = Array.make !nb Hour in
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment