8 search
:: [String] -> IO ()
9 search
[] = error $ "search: no arguments specified ('" ++ progName
++ "\
10 \ search help' for help)"
11 search argv
= if isHelp
$ head argv
12 then do putStrLn usageSearch
13 else do putStrLn "this has not been implemented yet"
16 usageSearch
= "usage: " ++ progName
++ " search <filters>\n\
18 \ " ++ progName
++ " search [id]\n\
22 \ -a <author1 [author2] ...>\n\
23 \ -k <keyword1 [keyword2] ...>\n\
27 \ -d <date-from> <date-to>\n\
28 \ -p <page-from> <page-to>\n\