summaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js
new file mode 100644
index 00000000..ade77681
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/example/default_hash.js
@@ -0,0 +1,8 @@
+#!/usr/bin/env node
+
+var argv = require('optimist')
+ .default({ x : 10, y : 10 })
+ .argv
+;
+
+console.log(argv.x + argv.y);