Skip to content

Commit

Permalink
added disc
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadrad committed Aug 5, 2016
1 parent a4838d6 commit 53ce0a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const usage = `Usage:
hping Ping through HTTP/HTTPS w/ GET/HEAD methods
scan scan tcp ports (you can provide range >scan host minport maxport)
dump prints out a description of the contents of packets on a network interface
disc discover all the devices on a LAN
peering peering information (provides by peeringdb.com)
web web dashboard - opens dashboard at your default browser
`
Expand Down Expand Up @@ -65,6 +66,7 @@ func Init(prompt, version string) *Readline {
readline.PcItem("whois"),
readline.PcItem("scan"),
readline.PcItem("dump"),
readline.PcItem("disc"),
readline.PcItem("peering"),
readline.PcItem("help"),
readline.PcItem("web"),
Expand Down Expand Up @@ -247,7 +249,7 @@ func checkUpdate(version string) {
return
}
if version != appCtl.Version {
fmt.Printf("New version is available (v%s) mylg.io/download\n", appCtl.Version)
fmt.Printf("New version is available (v%s) at http://mylg.io/download\n", appCtl.Version)
}
}

Expand Down

0 comments on commit 53ce0a5

Please sign in to comment.