aboutsummaryrefslogtreecommitdiff
path: root/opts/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'opts/flags.go')
-rw-r--r--opts/flags.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/opts/flags.go b/opts/flags.go
new file mode 100644
index 0000000..6784376
--- /dev/null
+++ b/opts/flags.go
@@ -0,0 +1,23 @@
+package opts
+
+import (
+ "fmt"
+ "os"
+)
+
+func flagUsage() {
+ fmt.Printf(`usage of goshkan server:
+%v -config <server-config-file>
+
+options:
+
+ --config <file> path to config file for goshkan server (in json)
+ default path for this file is server-config.json
+
+
+Copyright (c) 2021 snix.ir, All rights reserved.
+Developed BY <Sina Ghaderi> sina@snix.ir
+This work is licensed under the terms of GNU General Public license.
+Github: github.com/sina-ghaderi and Source: git.snix.ir
+`, os.Args[0])
+}

Snix LLC Git Repository Holder Copyright(C) 2022 All Rights Reserved Email To Snix.IR