Pārlūkot izejas kodu

fix flags for env

Hal De 3 gadi atpakaļ
vecāks
revīzija
eff7e8e53c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      main.go

+ 2 - 2
main.go

@@ -169,8 +169,8 @@ func readHandler(filename string, rf io.ReaderFrom) error {
 //Declaring cli flags
 func init() {
   flag.StringVar(&workdir, "workdir", "/tftpboot", "Set working directory")
-  flag.StringVar(&sepTeplateFilePath, "sep-template-file", "./sep-cisco.cnf.xml.tpl", "Set path to sep template file")
-  flag.StringVar(&freepbxConf, "freepbx-conf", "/etc/freepbx.conf", "Set path to freepbx db connection config file")
+  flag.StringVar(&sepTeplateFilePath, "sep_template_file", "./sep-cisco.cnf.xml.tpl", "Set path to sep template file")
+  flag.StringVar(&freepbxConf, "freepbx_conf", "/etc/freepbx.conf", "Set path to freepbx db connection config file")
 }
 
 func main() {