From 96b6832834143717e4e1de6449d67d19df99ce9c Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Tue, 15 Aug 2017 14:33:14 -0500 Subject: [PATCH] Fix default value of sendMsg. --- cliutils.nim | 2 +- cliutils.nimble | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cliutils.nim b/cliutils.nim index b53d99f..057f780 100644 --- a/cliutils.nim +++ b/cliutils.nim @@ -28,7 +28,7 @@ type HandleProcMsgCB* = proc (outMsg: TaintedString, errMsg: TaintedString, cmd: string): void proc sendMsg*(h: HandleProcMsgCB, outMsg: TaintedString, - errMsg: TaintedString = nil, cmd: string): void = + errMsg: TaintedString = nil, cmd: string = ""): void = if h != nil: h(outMsg, errMsg, cmd) proc waitForWithOutput*(p: Process, msgCB: HandleProcMsgCB, diff --git a/cliutils.nimble b/cliutils.nimble index 24ecbbd..6afe096 100644 --- a/cliutils.nimble +++ b/cliutils.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.0" +version = "0.2.1" author = "Jonathan Bernard" description = "Helper functions for writing command line interfaces." license = "MIT"