Fix up some more spelling
This commit is contained in:
		| @@ -21,6 +21,7 @@ type DownArgs struct { | |||||||
| 	InterfaceName string | 	InterfaceName string | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // DownRun handles the execution of the down command. | ||||||
| func DownRun(r *cmd.Root, c *cmd.Sub) { | func DownRun(r *cmd.Root, c *cmd.Sub) { | ||||||
| 	// Parse Command Args | 	// Parse Command Args | ||||||
| 	args := c.Args.(*DownArgs) | 	args := c.Args.(*DownArgs) | ||||||
|   | |||||||
| @@ -28,6 +28,7 @@ type InitArgs struct { | |||||||
| 	InterfaceName string | 	InterfaceName string | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // InitRun handles the execution of the init command. | ||||||
| func InitRun(r *cmd.Root, c *cmd.Sub) { | func InitRun(r *cmd.Root, c *cmd.Sub) { | ||||||
| 	// Parse Command Arguments | 	// Parse Command Arguments | ||||||
| 	args := c.Args.(*InitArgs) | 	args := c.Args.(*InitArgs) | ||||||
|   | |||||||
| @@ -49,6 +49,7 @@ type UpFlags struct { | |||||||
| 	Foreground bool `short:"f" long:"foreground" desc:"Don't Create Background Daemon."` | 	Foreground bool `short:"f" long:"foreground" desc:"Don't Create Background Daemon."` | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // UpRun handles the execution of the up command. | ||||||
| func UpRun(r *cmd.Root, c *cmd.Sub) { | func UpRun(r *cmd.Root, c *cmd.Sub) { | ||||||
| 	// Parse Command Args | 	// Parse Command Args | ||||||
| 	args := c.Args.(*UpArgs) | 	args := c.Args.(*UpArgs) | ||||||
| @@ -76,7 +77,7 @@ func UpRun(r *cmd.Root, c *cmd.Sub) { | |||||||
| 		case <-time.After(30 * time.Second): | 		case <-time.After(30 * time.Second): | ||||||
| 		} | 		} | ||||||
| 		checkErr(err) | 		checkErr(err) | ||||||
| 		fmt.Println("[+] Sucessfully Created Hyprspace Daemon") | 		fmt.Println("[+] Successfully Created Hyprspace Daemon") | ||||||
| 		return | 		return | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| @@ -205,7 +206,7 @@ func prettyDiscovery(ctx context.Context, node host.Host, peerTable map[string]p | |||||||
| 				continue | 				continue | ||||||
| 			} | 			} | ||||||
| 			if err == nil { | 			if err == nil { | ||||||
| 				fmt.Printf("[+] Connection to %s Sucessful. Network Ready.\n", ip) | 				fmt.Printf("[+] Connection to %s Successful. Network Ready.\n", ip) | ||||||
| 				stream.Close() | 				stream.Close() | ||||||
| 			} | 			} | ||||||
| 			delete(tempTable, ip) | 			delete(tempTable, ip) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alec Scott
					Alec Scott