Commit 03c6d8fa authored by Iustin Pop's avatar Iustin Pop
Browse files

Improve the error message for tiered alloc option

parent 03cb89f0
......@@ -346,7 +346,8 @@ oTieredSpec = Option "" ["tiered-alloc"]
tspec <-
case prs of
[dsk, ram, cpu] -> return $ RSpec cpu ram dsk
_ -> Bad $ "Invalid specification: " ++ inp
_ -> Bad $ "Invalid specification: " ++ inp ++
", expected disk,ram,cpu"
return $ opts { optTieredSpec = Just tspec } )
"TSPEC")
"enable tiered specs allocation, given as 'disk,ram,cpu'"
......
Markdown is supported
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