Repos / shark / 7c17bc9628
commit 7c17bc9628e26c3c7a182a8129ce4dfd9f1e702c
Author: Nhân <hi@imnhan.com>
Date: Sun Sep 17 17:42:30 2023 +0700
cosmetics
diff --git a/README.md b/README.md
index 49b834f..b7995de 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,9 @@ ## Options
-size int
Size multiplier: make Gura as big as you want (default 1)
-stop int
- chance to stop walking, in % (default 40)
+ Chance to stop walking, in % (default 40)
-walk int
- chance to start walking, in % (default 5)
+ Chance to start walking, in % (default 5)
-x int
X position on screen (default 9999)
-y int
diff --git a/main.go b/main.go
index a1b3719..0c354f6 100644
--- a/main.go
+++ b/main.go
@@ -112,8 +112,8 @@ func main() {
)
flag.IntVar(&xFlag, "x", 9999, "X position on screen")
flag.IntVar(&yFlag, "y", 9999, "Y position on screen")
- flag.IntVar(&WalkChance, "walk", 5, "chance to start walking, in %")
- flag.IntVar(&StopChance, "stop", 40, "chance to stop walking, in %")
+ flag.IntVar(&WalkChance, "walk", 5, "Chance to start walking, in %")
+ flag.IntVar(&StopChance, "stop", 40, "Chance to stop walking, in %")
flag.Parse()
DurationTillHungry = time.Duration(secondsUntilHungryFlag) * 1_000_000_000