summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/argv.go b/argv.go
new file mode 100644
index 0000000..ecaae3d
--- /dev/null
+++ b/argv.go
@@ -0,0 +1,7 @@
+package main
+
+var argv args
+
+type args struct {
+ Port int `arg:"--port" default:"2520" help:"port to run on"`
+}