diff options
| author | Jeff Carr <[email protected]> | 2025-10-29 00:48:05 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-29 00:48:05 -0500 | 
| commit | 2d5174830aead2aa4e8dcbbb4de78a122d38835d (patch) | |
| tree | af540d49f867e506b9ade514afcde2b552194981 | |
| parent | f3fa28a0a093c3e22ecacac914854523545d94f3 (diff) | |
didn't roll the PB version. damnit. wasted time.
| -rw-r--r-- | argv.parseOsArgs.go | 6 | ||||
| -rw-r--r-- | argv.proto | 2 | ||||
| -rw-r--r-- | init.go | 1 | ||||
| -rw-r--r-- | theMagicOfAutocomplete.go | 8 | 
4 files changed, 2 insertions, 15 deletions
diff --git a/argv.parseOsArgs.go b/argv.parseOsArgs.go index 12c63ac..002630a 100644 --- a/argv.parseOsArgs.go +++ b/argv.parseOsArgs.go @@ -12,12 +12,6 @@ func GetCmd() string {  	return PB.GetCmd()  } -func mypanic(blah string) { -	// me.debug = true -	// doStdoutStderr() -	panic(blah) -} -  // todo: this is wrong  func (pb *Argv) GetCmd() string {  	var curcmd string @@ -46,7 +46,7 @@ message Argv {                                             // `autogenpb:marshal  message Argvs {                                            // `autogenpb:marshal` `autogenpb:sort` `autogenpb:nomutex`          string                      uuid             = 1;  // `autogenpb:uuid:1e6e765c-0c77-4c81-a622-0d819bfcce9a` -        string                      version          = 2;  // `autogenpb:version:v0.0.5` +        string                      version          = 2;  // `autogenpb:version:v0.0.6`          repeated Argv               argvs            = 3;          string                      filename         = 4;  // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()  } @@ -13,7 +13,6 @@ func Init(dest any, APPNAME string, anyString string, VERSION string) {  	me = new(AutoType)  	PB = new(Argv)  	me.all = NewArgvs() -	me.debug = true  	// set the start time of the binary  	now := time.Now() diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index 7cb8194..4bb56b8 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -162,20 +162,14 @@ func examineArgvHistory() {  	// loads the argv autocomplete history file  	me.Err = config.ForceCreateCacheDirPB(me.all, "argv", PB.AppInfo.APPNAME)  	if me.Err != nil { -		// there is no history. -		// ALWAYS KEEP THESE LINES AND THE panic() -		// They are needed to debug autocomplete.  		// -		// This code is only executed when the user is hitting tab in the shell, -		// so this panic() is safe and can never be triggered by normal program execution. +		// debug this  		//  		me.debug = true  		PB.Stddbg += fmt.Sprintf("config.CreateCacheDirPB() err(%v)\n", me.Err)  		PB.Stddbg += fmt.Sprintf("argvpb.Load() history file failed")  		printStderr()  		printStddbg() -		me.all = NewArgvs() -		me.debug = true  		return  	}  	if me.debug {  | 
