Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goversion: rewrite on top of cmd/go/internal/version #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Goversion scans inside of tar or gzipped tar archives that it finds (named
The `-crypto` flag causes goversion to print additional information about the
crypto libraries linked into each executable.

The -m flag causes goversion to print the list of modules
The `-m` flag causes goversion to print the list of modules
found in the executable, along with version information.

The -mh flag causes goversion to print the list of modules
The `-mh` flag causes goversion to print the list of modules
found in the executable, along with version and hash information.

The `-v` flag causes goversion to print information about every file it
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module rsc.io/goversion

go 1.14
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ var (
verbose = flag.Bool("v", false, "print verbose information")
)

func init() {
flag.BoolVar(&version.DebugMatch, "d", version.DebugMatch, "print debug information")
}

func usage() {
fmt.Fprintf(os.Stderr, "usage: goversion [-crypto] [-v] path...\n")
flag.PrintDefaults()
Expand Down
349 changes: 0 additions & 349 deletions version/asm.go

This file was deleted.

Loading