summaryrefslogtreecommitdiff
path: root/argv.Version.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.Version.go')
-rw-r--r--argv.Version.go14
1 files changed, 3 insertions, 11 deletions
diff --git a/argv.Version.go b/argv.Version.go
index c50c52a..4a133c2 100644
--- a/argv.Version.go
+++ b/argv.Version.go
@@ -1,7 +1,5 @@
package argvpb
-// initializes logging and command line options
-
import (
"fmt"
"os"
@@ -10,11 +8,6 @@ import (
"go.wit.com/log"
)
-// returns the name of the executable registered for shell autocomplete
-func GetAPPNAME() string {
- return me.pb.AppInfo.APPNAME
-}
-
func (pb *Argv) Version() string {
return pb.AppInfo.getVersion()
}
@@ -39,8 +32,7 @@ func (info *App) getVersion() string {
return s
}
-/*
-func StandardVersion(APPNAME, VERSION, BUILDTIME string) string {
- return fmt.Sprintf("%s %s Built on raw(%v) %s (from argv)", APPNAME, VERSION, BUILDTIME, cobol.Time(BUILDTIME))
+// deprecate ?
+func GetAPPNAME() string {
+ return me.pb.AppInfo.APPNAME
}
-*/