Skip to content

Commit 9d840ed

Browse files
committed
Add GNU-style copyright to version output, project URL to help
Attribution follows the coreutils convention: license and authorship live in version output where they read as rights information, not in help where they would be noise. The help footer gains the project URL for bug reports.
1 parent 82abc1e commit 9d840ed

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

main.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,11 @@ func cmdCompletions(args []string) {
223223
}
224224
fmt.Print(s)
225225
}
226-
func cmdVersion() { fmt.Println("clau " + versionString()) }
226+
func cmdVersion() {
227+
fmt.Println("clau " + versionString())
228+
fmt.Println("Copyright (C) 2026 Usman Bashir. License GPL-3.0-or-later.")
229+
fmt.Println("https://github.com/usmanbashir/clau")
230+
}
227231
func cmdHelp() { fmt.Print(helpText) }
228232

229233
const helpText = `clau — model×effort shortcodes and launch profiles for Claude Code
@@ -245,4 +249,5 @@ Management (clau only):
245249
clau version | help
246250
247251
Config: $CLAU_CONFIG or ~/.config/clau/config.toml
252+
Project: https://github.com/usmanbashir/clau
248253
`

0 commit comments

Comments
 (0)