From c86cd34f5ef9680de672d388b8d9a1dc2c4e35b3 Mon Sep 17 00:00:00 2001 From: Jose Garcia Date: Wed, 8 Sep 2021 13:38:27 -0400 Subject: [PATCH] switch to Errorln --- cmd/ghcs/logs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ghcs/logs.go b/cmd/ghcs/logs.go index 49369d1c0..15929c9bb 100644 --- a/cmd/ghcs/logs.go +++ b/cmd/ghcs/logs.go @@ -29,11 +29,11 @@ func newLogsCmd() *cobra.Command { Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { if len(args) > 0 { - log.Println(" argument is deprecated. Use --codespace instead.") + log.Errorln(" argument is deprecated. Use --codespace instead.") codespace = args[0] } if tail { - log.Println("--tail flag is deprecated. Use --follow instead.") + log.Errorln("--tail flag is deprecated. Use --follow instead.") follow = true } return logs(context.Background(), log, codespace, follow)