alan-turing-institute / whatwhat

A reimagining of nowwhat in OCaml
MIT License
0 stars 0 forks source link

Fix verbosity option #95

Open yongrenjie opened 1 year ago

yongrenjie commented 1 year ago

Right now -v shows info messages, and -vv shows info and debug messages, but we don't have a way to reduce verbosity and show only errors (for example). --only-codes can suppress individual warnings, but using it to suppress all warnings is quite unwieldy

Suggestion: make the verbosity option an integer and make it take a default value of 2 (i.e. show errors and warnings). This can be changed to any number between 0 and 4.