github.com/aclements/go-misc@v0.0.0-20240129233631-2f6ede80790c/greplogs/main.go (about)

     1  // Copyright 2015 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Command greplogs is deprecated.
     6  //
     7  // Please see golang.org/x/build/cmd/greplogs.
     8  package main
     9  
    10  import (
    11  	"fmt"
    12  	"os"
    13  )
    14  
    15  func main() {
    16  	fmt.Fprintf(os.Stderr, "This copy of greplogs is deprecated. Please update your greplogs using:\n")
    17  	fmt.Fprintf(os.Stderr, "\tgo install golang.org/x/build/cmd/greplogs@latest\n")
    18  	os.Exit(2)
    19  }