diff options
| author | Jeff Carr <[email protected]> | 2025-10-21 15:48:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-21 15:48:24 -0500 |
| commit | 2b6414a664fd7ccc519874f4d0b55a12a871307c (patch) | |
| tree | b72eba5a53e98a219f4a54249241e2fd9b66e6d8 /argv.Version.go | |
| parent | e9c3000abafd70702cb9db6e3738115012f498eb (diff) | |
housecleaning
Diffstat (limited to 'argv.Version.go')
| -rw-r--r-- | argv.Version.go | 14 |
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 } -*/ |
