global: make private fields public

This commit is contained in:
Michael Eischer committed 2025-10-12 17:56:28 +02:00
1 parent 394c8de502
commit 2c677d8db4
62 files changed
+258 -259

No files matched your search

+2 -2
View File
@@ -49,7 +49,7 @@ Exit status is 12 if the password is incorrect.
DisableAutoGenTag: true,
RunE: func(cmd *cobra.Command, args []string) error {
finalizeSnapshotFilter(&opts.SnapshotFilter)
return runDump(cmd.Context(), opts, *globalOptions, args, globalOptions.term)
return runDump(cmd.Context(), opts, *globalOptions, args, globalOptions.Term)
},
}
@@ -132,7 +132,7 @@ func runDump(ctx context.Context, opts DumpOptions, gopts GlobalOptions, args []
return errors.Fatal("no file and no snapshot ID specified")
}
printer := ui.NewProgressPrinter(gopts.JSON, gopts.verbosity, term)
printer := ui.NewProgressPrinter(gopts.JSON, gopts.Verbosity, term)
switch opts.Archive {
case "tar", "zip":