From 03cc5fcb7680df63d8efc071037c281009f15014 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 6 Jun 2020 11:20:48 +0200 Subject: [PATCH] Use cobra for build --full --- cmd/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/build.go b/cmd/build.go index 870f32ef..0cfd6c23 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -78,7 +78,7 @@ var buildCmd = &cobra.Command{ nodeps := viper.GetBool("nodeps") onlydeps := viper.GetBool("onlydeps") keepExportedImages := viper.GetBool("keep-exported-images") - full := viper.GetBool("full") + full, _ := cmd.Flags().GetBool("full") compilerSpecs := compiler.NewLuetCompilationspecs() var compilerBackend compiler.CompilerBackend