Date: Fri, 23 Sep 2022 16:08:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266567] textproc/termshot: incorrect --version Message-ID: <bug-266567-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266567 Bug ID: 266567 Summary: textproc/termshot: incorrect --version Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: lbartoletti@FreeBSD.org Reporter: eduardo@FreeBSD.org Flags: maintainer-feedback?(lbartoletti@FreeBSD.org) Assignee: lbartoletti@FreeBSD.org Hello! >`termshot --version`: > termshot version (development) It seams that -X ${GO_MODULE}/internal.Version=3D${DISTVERSION}" isn't work= ing. internal/cmd/root.go: --- if showVersion, err :=3D cmd.Flags().GetBool("version"); showVersion && err= =3D=3D nil { if len(version) =3D=3D 0 { version =3D "(development)" } --- Sometimes I have similar problems geting "version" to work properly. I have tried several combinations without success. Any clues? Thanks, Nuno --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266567-7788>