coa 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cmd.js CHANGED
@@ -240,7 +240,7 @@ exports.Cmd = Cmd = (function() {
240
240
  Cmd.prototype._exit = function(msg, code) {
241
241
  return process.once('exit', function() {
242
242
  if (msg) {
243
- UTIL.error(msg);
243
+ console.error(msg);
244
244
  }
245
245
  return process.exit(code || 0);
246
246
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coa",
3
3
  "description": "Command-Option-Argument: Yet another parser for command line options.",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "homepage": "http://github.com/veged/coa",
6
6
  "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)",
7
7
  "maintainers": [
package/src/cmd.coffee CHANGED
@@ -178,7 +178,7 @@ exports.Cmd = class Cmd
178
178
 
179
179
  _exit: (msg, code) ->
180
180
  process.once 'exit', ->
181
- if msg then UTIL.error msg
181
+ if msg then console.error msg
182
182
  process.exit code or 0
183
183
 
184
184
  ###*