mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-12-22 17:30:02 +00:00
Set default for RPI command to return help info
This commit is contained in:
parent
285d23af55
commit
cc2aa9954e
@ -32,6 +32,9 @@ func ExecCommand() {
|
||||
linuxCommand = strings.ToLower(linuxCommand)
|
||||
}
|
||||
linuxCommand = strings.Trim(linuxCommand, " ")
|
||||
if linuxCommand == "" {
|
||||
linuxCommand = "a2help"
|
||||
}
|
||||
fmt.Printf("Command to run: %s\n", linuxCommand)
|
||||
if strings.HasPrefix(linuxCommand, "cd ") {
|
||||
workingDirectory = strings.Replace(linuxCommand, "cd ", "", 1)
|
||||
|
Loading…
Reference in New Issue
Block a user