mirror of
https://github.com/Gu1llaum-3/sshm.git
synced 2026-01-27 03:04:21 +01:00
fix: pass config file flag to add/edit commands
This commit is contained in:
@@ -59,7 +59,7 @@ func runInteractiveMode() {
|
||||
var response string
|
||||
_, err := fmt.Scanln(&response)
|
||||
if err == nil && (response == "y" || response == "Y") {
|
||||
err := ui.RunAddForm("")
|
||||
err := ui.RunAddForm("", configFile)
|
||||
if err != nil {
|
||||
fmt.Printf("Error adding host: %v\n", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user