aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-18 04:40:05 +0800
committerobscuren <geffobscura@gmail.com>2015-03-18 04:40:05 +0800
commit142e81258cd7b77226d706c84f93da417aaaf426 (patch)
tree3b84c4139d100252512db487c33e2be57191e5d3 /cmd/utils
parent86661de07746cd4e4ad8d016afee9fa8074aa141 (diff)
parent048d4ec5be5352dcb06f5123e3458b99aa151e6b (diff)
downloaddexon-142e81258cd7b77226d706c84f93da417aaaf426.tar
dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.gz
dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.bz2
dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.lz
dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.xz
dexon-142e81258cd7b77226d706c84f93da417aaaf426.tar.zst
dexon-142e81258cd7b77226d706c84f93da417aaaf426.zip
Merge branch 'develop' into conversion
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 95666e3c9..42256903e 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -163,6 +163,11 @@ var (
Usage: "Port mapping mechanism (any|none|upnp|pmp|extip:<IP>)",
Value: "any",
}
+ JSpathFlag = cli.StringFlag{
+ Name: "jspath",
+ Usage: "JS library path to be used with console and js subcommands",
+ Value: ".",
+ }
)
func GetNAT(ctx *cli.Context) nat.Interface {