Skip to content

Commit

Permalink
Make node key required CLI variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Waldz committed May 9, 2017
1 parent 15d2cf2 commit 9ad52aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/mysterium_client/command_run/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func ParseArguments(args []string) (options CommandOptions, err error) {
flags.StringVar(
&options.NodeKey,
"node",
"12345",
"",
"Mysterium VPN node to make connection with",
)
flags.StringVar(
Expand Down
8 changes: 4 additions & 4 deletions cmd/mysterium_server/command_run/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
)

type CommandOptions struct {
NodeKey string
DirectoryConfig string
NodeKey string
DirectoryConfig string
DirectoryRuntime string
}

Expand All @@ -16,8 +16,8 @@ func ParseArguments(args []string) (options CommandOptions, err error) {
flags.StringVar(
&options.NodeKey,
"node",
"12345",
"Unique identifier for my Mysterium VPN node",
"",
"Unique identifier for Mysterium VPN node",
)
flags.StringVar(
&options.DirectoryConfig,
Expand Down

0 comments on commit 9ad52aa

Please sign in to comment.