aboutsummaryrefslogtreecommitdiff
path: root/getgopt.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2021-10-08 23:59:18 +0200
committerThomas Voss <mail@thomasvoss.com> 2021-10-08 23:59:18 +0200
commit31013048af5c55fb89841ed961494d3b211d1879 (patch)
tree60db63f2421d08e9a5f41cffb9d8324a72ada504 /getgopt.go
parent2f1422138e8c6ef9cd18bf28ec1cfa8868e53ba8 (diff)
[Typo] Fix comment
Diffstat (limited to 'getgopt.go')
-rw-r--r--getgopt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/getgopt.go b/getgopt.go
index 166430a..684d66f 100644
--- a/getgopt.go
+++ b/getgopt.go
@@ -77,7 +77,7 @@ func parseArgs(optstring string) {
* returned. This makes it very easy to incorperate into a for/while loop.
*/
func Getopt(argc int, argv []string, optstring string, optptr *byte) bool {
- /* If we havem't parsed the optstring yet, parse it */
+ /* If we haven't parsed the optstring yet, parse it */
if !parsed {
parseArgs(optstring)
parsed = true