diff options
author | 2009-06-27 10:30:51 -0400 | |
---|---|---|
committer | 2009-06-27 10:30:51 -0400 | |
commit | 35cfed265b313d645c850f1ed24f6e8f937a410c (patch) | |
tree | de15c7f60f907eed0f97e57484b7c01697373f9a /src/settings.sml | |
parent | 5574caafb5da61e7938eec476975bf82cbf98b97 (diff) |
-debug from the command line
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml index e1dcc809..a020f373 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -277,4 +277,8 @@ fun setProtocol name = | SOME p => curProto := p fun currentProtocol () = !curProto +val debug = ref false +fun setDebug b = debug := b +fun getDebug () = !debug + end |