You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? (required. The issue will be closed when not provided.)
Query vuls version
What did you expect to happen?
Run command "vuls flags -v" can get vuls version
What happened instead?
Current Output
[root@localhost ~]# vuls flags
-v Show version
[root@localhost ~]# echo $?
0
[root@localhost ~]# vuls flags -v
flag provided but not defined: -v
flags []:
With an argument, print all flags of . Else,
print a description of all known top-level flags. (The basic
help information only discusses the most generally important
top-level flags.)
[root@localhost ~]# echo $?
2
Please re-run the command using -debug and provide the output below.
Steps to reproduce the behaviour
vuls flags -v
Configuration (MUST fill this out):
Go version (go version):
[root@localhost ~]# go version
go version go1.16 linux/amd64
What did you do? (required. The issue will be closed when not provided.)
Query vuls version
What did you expect to happen?
Run command "vuls flags -v" can get vuls version
What happened instead?
[root@localhost ~]# vuls flags
-v Show version
[root@localhost ~]# echo $?
0
[root@localhost ~]# vuls flags -v
flag provided but not defined: -v
flags []:
With an argument, print all flags of . Else,
print a description of all known top-level flags. (The basic
help information only discusses the most generally important
top-level flags.)
[root@localhost ~]# echo $?
2
Please re-run the command using
-debug
and provide the output below.Steps to reproduce the behaviour
vuls flags -v
Configuration (MUST fill this out):
Go version (
go version
):[root@localhost ~]# go version
go version go1.16 linux/amd64
Go environment (
go env
):[root@localhost ~]# go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/root/go/pkg/mod"
GONOPROXY=".gitlab.com,.gitee.com"
GONOSUMDB=".gitlab.com,.gitee.com"
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=".gitlab.com,.gitee.com"
GOPROXY="https://goproxy.io"
GOROOT="/usr/local/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2753185754=/tmp/go-build -gno-record-gcc-switches"
Vuls environment:
Hash : ____
To check the commit hash of HEAD
$ vuls -v
[root@localhost ~]# vuls -v
vuls-v0.18.1-build-20211117_090336_ffdb789
or
$ cd $GOPATH/src/github.com/future-architect/vuls
$ git rev-parse --short HEAD
[root@localhost vuls]# git rev-parse --short HEAD
ffdb789
config.toml:
command:
The text was updated successfully, but these errors were encountered: