Skip to content

Commit

Permalink
fix(windows): set default network to 'tcp' #9
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Feb 20, 2017
1 parent c84afad commit a963058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var daemonCmd = &cobra.Command{

func init() {
daemonCmd.Flags().IntVarP(&port, "port", "p", 6666, "Local daemon port to listen on")
daemonCmd.Flags().StringVarP(&network, "network", "n", "", "Local network interface to listen on ('tcp', 'tcp4', 'tcp6')")
daemonCmd.Flags().StringVarP(&network, "network", "n", "tcp", "Local network interface to listen on ('tcp', 'tcp4', 'tcp6')")
daemonCmd.Flags().StringVarP(&address, "address", "a", "", "Local network address to listen on (e.g. '', '127.0.0.1', '[::1]' etc.)")
RootCmd.AddCommand(daemonCmd)
}

0 comments on commit a963058

Please sign in to comment.