Skip to content

Commit be3a9f6

Browse files
changes to allow mode be passed in the program call.
This will resolves issue no #362 #362
1 parent 3874e6c commit be3a9f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ProgramCall.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ class ProgramCall {
4040
this.xml = `<pgm name='${program}'`;
4141
if (options.lib) this.xml += ` lib='${options.lib}'`;
4242
if (options.func) this.xml += ` func='${options.func}'`;
43+
if (options.mode) this.xml += ` mode='${options.mode}'`;
4344
this.xml += ` error='${options.error || 'fast'}'>`;
44-
}
45+
}
4546

4647
/**
4748
* @private

0 commit comments

Comments
 (0)