added new build in vars to rest of binaries
Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
"github.com/hpcng/warewulf/cmd/update_configuration/vers42"
|
||||
"github.com/hpcng/warewulf/cmd/update_configuration/vers43"
|
||||
"github.com/hpcng/warewulf/internal/pkg/buildconfig"
|
||||
"github.com/hpcng/warewulf/internal/pkg/util"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
@@ -125,7 +124,7 @@ func main() {
|
||||
var endVers int
|
||||
var startVers int
|
||||
flag.StringVar(&confFile, "f", "", "Config file for update")
|
||||
flag.IntVar(&endVers, "e", buildconfig.WWVer, "Final version of configuration file")
|
||||
flag.IntVar(&endVers, "e", 0, "Final version of configuration file")
|
||||
flag.IntVar(&startVers, "s", 0, "Start version of configuration file, 0 is for autodetection")
|
||||
flag.BoolVar(&nowrite, "n", false, "Do not write, just print new conf to terminal")
|
||||
flag.BoolVar(&quiet, "q", false, "Do not print what the program is doing")
|
||||
|
||||
Reference in New Issue
Block a user