diff options
Diffstat (limited to 'src/sdp/share/defaults.d')
-rw-r--r-- | src/sdp/share/defaults.d | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/sdp/share/defaults.d b/src/sdp/share/defaults.d deleted file mode 100644 index ed76846..0000000 --- a/src/sdp/share/defaults.d +++ /dev/null @@ -1,22 +0,0 @@ -/++ - shared default settings -+/ -module sdp.share.defaults; -template Msg() { - import std.stdio; - auto Msg(I)(I doc_matters) { - struct Msg_ { - void v()(string message) { - if (!(doc_matters.opt.action.quiet) && doc_matters.opt.action.verbose) { - writeln(message); - } - } - void vv()(string message) { - if (!(doc_matters.opt.action.quiet) && doc_matters.opt.action.very_verbose) { - writeln(message); - } - } - } - return Msg_(); - } -} |