Skip to content

Commit 7384e44

Browse files
committed
update text description
1 parent 468404a commit 7384e44

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/cmd/dev.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func init() {
281281
devFindImagesCmd.Flags().StringVar(&pkgConfig.FindImagesOpts.Why, "why", "", lang.CmdDevFlagFindImagesWhy)
282282

283283
defaultRegistry := fmt.Sprintf("%s:%d", helpers.IPV4Localhost, types.ZarfInClusterContainerRegistryNodePort)
284-
devFindImagesCmd.Flags().StringVar(&pkgConfig.FindImagesOpts.RegistryURL, "registry-url", defaultRegistry, lang.CmdDevFlagRegistry)
284+
devFindImagesCmd.Flags().StringVar(&pkgConfig.FindImagesOpts.RegistryURL, "registry-url", defaultRegistry, lang.CmdDevFlagFindImagesRegistry)
285285

286286
devLintCmd.Flags().StringToStringVar(&pkgConfig.CreateOpts.SetVariables, "set", v.GetStringMapString(common.VPkgCreateSet), lang.CmdPackageCreateFlagSet)
287287
devLintCmd.Flags().StringVarP(&pkgConfig.CreateOpts.Flavor, "flavor", "f", v.GetString(common.VPkgCreateFlavor), lang.CmdPackageCreateFlagFlavor)

src/config/lang/english.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -379,13 +379,13 @@ $ zarf package pull oci://ghcr.io/defenseunicorns/packages/dos-games:1.0.0 -a sk
379379
"NOTE: This file must not already exist. If no filename is provided, the config will be written to the current working directory as zarf-config.toml."
380380
CmdDevGenerateConfigErr = "Unable to write the config file %s, make sure the file doesn't already exist"
381381

382-
CmdDevFlagExtractPath = `The path inside of an archive to use to calculate the sha256sum (i.e. for use with "files.extractPath")`
383-
CmdDevFlagSet = "Specify package variables to set on the command line (KEY=value). Note, if using a config file, this will be set by [package.create.set]."
384-
CmdDevFlagRepoChartPath = `If git repos hold helm charts, often found with gitops tools, specify the chart path, e.g. "/" or "/chart"`
385-
CmdDevFlagGitAccount = "User or organization name for the git account that the repos are created under."
386-
CmdDevFlagKubeVersion = "Override the default helm template KubeVersion when performing a package chart template"
387-
CmdDevFlagRegistry = "Override the ###ZARF_REGISTRY### value"
388-
CmdDevFlagFindImagesWhy = "Find the location of the image given as an argument and print it to the console."
382+
CmdDevFlagExtractPath = `The path inside of an archive to use to calculate the sha256sum (i.e. for use with "files.extractPath")`
383+
CmdDevFlagSet = "Specify package variables to set on the command line (KEY=value). Note, if using a config file, this will be set by [package.create.set]."
384+
CmdDevFlagRepoChartPath = `If git repos hold helm charts, often found with gitops tools, specify the chart path, e.g. "/" or "/chart"`
385+
CmdDevFlagGitAccount = "User or organization name for the git account that the repos are created under."
386+
CmdDevFlagKubeVersion = "Override the default helm template KubeVersion when performing a package chart template"
387+
CmdDevFlagFindImagesRegistry = "Override the ###ZARF_REGISTRY### value"
388+
CmdDevFlagFindImagesWhy = "Prints the source manifest for the specified image"
389389

390390
CmdDevLintShort = "Lints the given package for valid schema and recommended practices"
391391
CmdDevLintLong = "Verifies the package schema, checks if any variables won't be evaluated, and checks for unpinned images/repos/files"

0 commit comments

Comments
 (0)