summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2018-12-18 12:12:21 +0100
committercjihrig <cjihrig@gmail.com>2018-12-20 09:31:52 -0500
commit436f4de38f511508710eb1492f4d23a9f427e7f7 (patch)
tree7158f1292bc30d749f2beb5f76846c01e262ad11 /lib
parentcdcb1b77379f780b7b187d711c44181dbd0a6e24 (diff)
downloadandroid-node-v8-436f4de38f511508710eb1492f4d23a9f427e7f7.tar.gz
android-node-v8-436f4de38f511508710eb1492f4d23a9f427e7f7.tar.bz2
android-node-v8-436f4de38f511508710eb1492f4d23a9f427e7f7.zip
src: add kUInteger parsing
This commit adds support for uint64_t option parsing. PR-URL: https://github.com/nodejs/node/pull/24811 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/print_help.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/print_help.js b/lib/internal/print_help.js
index c3e984dd9f..fdec7bd09b 100644
--- a/lib/internal/print_help.js
+++ b/lib/internal/print_help.js
@@ -69,6 +69,7 @@ function getArgDescription(type) {
case 'kHostPort':
return '[host:]port';
case 'kInteger':
+ case 'kUInteger':
case 'kString':
case 'kStringList':
return '...';