You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/03/11 10:20:13 UTC

[openwhisk-wskdebug] branch master updated: fix updateStrings breaking plain `wskdebug` execution #17 (#18)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdebug.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d3ccff  fix updateStrings breaking plain `wskdebug` execution #17 (#18)
0d3ccff is described below

commit 0d3ccff127a2ad17e38057fcd80d7009715e70d2
Author: Alexander Klimetschek <ak...@adobe.com>
AuthorDate: Wed Mar 11 03:20:05 2020 -0700

    fix updateStrings breaking plain `wskdebug` execution #17 (#18)
---
 index.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 27a08fe..96a83cb 100644
--- a/index.js
+++ b/index.js
@@ -214,7 +214,10 @@ function getYargsParser() {
         .alias("h", "help")
         .updateStrings({
             'Positionals:': 'Arguments:',
-            'Not enough non-option arguments: got %s, need at least %s': "Error: Missing argument <action> (%s/%s)"
+            'Not enough non-option arguments: got %s, need at least %s': {
+                "one": "Error: Missing argument <action> (%s/%s)",
+                "other": "Error: Missing argument <action> (%s/%s)"
+            }
         })
         .version(false)
         .wrap(90)