Skip to content

Commit

Permalink
Added "help" command
Browse files Browse the repository at this point in the history
  • Loading branch information
fishnux committed Sep 11, 2018
1 parent a4941aa commit e51c515
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ func main() {
env := os.Environ()
execErr := syscall.Exec(binary, args, env)
check(execErr)
} else if input == "help" {
fmt.Println("Please visit https://github.com/fishnux/sshconnect")
os.Exit(0)
} else {
fmt.Println("Invalid command, exiting...")
os.Exit(0)
Expand Down

0 comments on commit e51c515

Please sign in to comment.