Fix up some more spelling

This commit is contained in:
Alec Scott
2021-06-09 18:39:19 -07:00
parent 021b1f861c
commit 0fb0eb6c62
3 changed files with 5 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ type DownArgs struct {
InterfaceName string
}
// DownRun handles the execution of the down command.
func DownRun(r *cmd.Root, c *cmd.Sub) {
// Parse Command Args
args := c.Args.(*DownArgs)

View File

@@ -28,6 +28,7 @@ type InitArgs struct {
InterfaceName string
}
// InitRun handles the execution of the init command.
func InitRun(r *cmd.Root, c *cmd.Sub) {
// Parse Command Arguments
args := c.Args.(*InitArgs)

View File

@@ -49,6 +49,7 @@ type UpFlags struct {
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) {
// Parse Command Args
args := c.Args.(*UpArgs)
@@ -76,7 +77,7 @@ func UpRun(r *cmd.Root, c *cmd.Sub) {
case <-time.After(30 * time.Second):
}
checkErr(err)
fmt.Println("[+] Sucessfully Created Hyprspace Daemon")
fmt.Println("[+] Successfully Created Hyprspace Daemon")
return
}
@@ -205,7 +206,7 @@ func prettyDiscovery(ctx context.Context, node host.Host, peerTable map[string]p
continue
}
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()
}
delete(tempTable, ip)