diff --git a/main.go b/main.go index 3b4a981..dfa0d85 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( func main() { if len(os.Args) == 1 { - fmt.Println("Use 'start', 'stop', or 'backup' command\nex. factoryman start\nTo configure edit 'conifg.yml'") + fmt.Println("Use 'start', 'stop', or 'backup' command\nex. factoryman start\nTo configure edit 'config.yml'") } else { cliToolMode() } diff --git a/serv-install.go b/serv-install.go index 820908e..f73cf1e 100644 --- a/serv-install.go +++ b/serv-install.go @@ -2,7 +2,6 @@ package main import ( "archive/tar" - "fmt" "io" "log" "net/http" @@ -13,7 +12,7 @@ import ( ) func downloadHeadless() { - headlessQuery := fmt.Sprintf("https://www.factorio.com/get-download/latest/headless/linux64") + headlessQuery := "https://www.factorio.com/get-download/latest/headless/linux64" url := headlessQuery resp, err := http.Get(url)