summaryrefslogtreecommitdiff
path: root/doWITCOM.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 15:03:12 -0500
committerJeff Carr <[email protected]>2025-09-25 15:03:12 -0500
commita28318fbcb3aad0681c7e0f72a35cafc049750d9 (patch)
tree0ae94eda5c0d81e78b1aba998f8b49722ba68ab3 /doWITCOM.go
parent21313117b70fe7aba836d4ffc57ae60b29bb695f (diff)
argv autocomplete improvementsv0.0.107
Diffstat (limited to 'doWITCOM.go')
-rw-r--r--doWITCOM.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/doWITCOM.go b/doWITCOM.go
index c68408a..ecfa409 100644
--- a/doWITCOM.go
+++ b/doWITCOM.go
@@ -28,8 +28,6 @@ func doWITCOM() {
}
// add a common header for WIT files
-// add a common header for WIT files
-
func addCommonHeader(filename string) error {
// read in the .proto file
data, err := os.ReadFile(filename)
@@ -66,7 +64,8 @@ func addCommonHeader(filename string) error {
// print the header once
if !done {
newfile += fmt.Sprintln("// Copyright 2017-2025 WIT.COM Inc. All rights reserved.")
- newfile += fmt.Sprintln("// Use of this source code is governed by the GPL 3.0")
+ // todo, verify LICENSE file is GPL 3.0 here
+ newfile += fmt.Sprintln("// Use of this source code is governed by the GPL")
newfile += fmt.Sprintln("")
done = true
}