diff --git a/internal/cli/main.go b/internal/cli/main.go index 0e4eeac61..6ff542790 100644 --- a/internal/cli/main.go +++ b/internal/cli/main.go @@ -18,6 +18,7 @@ import ( "github.com/mitchellh/go-glint" "github.com/hashicorp/vagrant-plugin-sdk/internal-shared/protomappers" + "github.com/hashicorp/vagrant-plugin-sdk/localizer" "github.com/hashicorp/vagrant-plugin-sdk/proto/vagrant_plugin_sdk" "github.com/hashicorp/vagrant-plugin-sdk/terminal" "github.com/hashicorp/vagrant/internal/pkg/signalcontext" @@ -288,14 +289,18 @@ func logger(args []string) ([]string, hclog.Logger, io.Writer, error) { } case "--timestamp": t := terminal.NonInteractiveUI(context.Background()) - t.Output("Deprecated") + t.Output( + localizer.LocalizeMsg("deprecated_flag", map[string]string{"Flag": "--timestamp"}), + ) case "--debug-timestamp": if level == hclog.NoLevel || level > hclog.Debug { level = hclog.Debug _ = os.Setenv("VAGRANT_LOG", "debug") } t := terminal.NonInteractiveUI(context.Background()) - t.Output("Deprecated") + t.Output( + localizer.LocalizeMsg("deprecated_flag", map[string]string{"Flag": "--debug-timestamp"}), + ) default: outArgs = append(outArgs, arg) }