switch to Errorln
This commit is contained in:
parent
efc6fd369c
commit
c86cd34f5e
1 changed files with 2 additions and 2 deletions
|
|
@ -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("<codespace> argument is deprecated. Use --codespace instead.")
|
||||
log.Errorln("<codespace> 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue