aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-17 08:01:46 -0300
committerEuAndreh <eu@euandre.org>2025-05-17 08:04:12 -0300
commit0a31f4cf617a1c8b0ccce4d96d314c889dea849c (patch)
tree6d573eae2aa39dd6d6fce204789da99c56325ee1 /src
parentMake: Use $< over $? (diff)
downloadurubu-0a31f4cf617a1c8b0ccce4d96d314c889dea849c.tar.gz
urubu-0a31f4cf617a1c8b0ccce4d96d314c889dea849c.tar.xz
Setup i18n with gotext(0)
Diffstat (limited to 'src')
-rw-r--r--src/urubu.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/urubu.go b/src/urubu.go
index 024989a..41ec5a7 100644
--- a/src/urubu.go
+++ b/src/urubu.go
@@ -1,5 +1,22 @@
package urubu
+import (
+ "fmt"
+ "io"
+
+ gt "gotext"
+)
+
+
+
+func usage(argv0 string, w io.Writer) {
+ fmt.Fprintf(
+ w,
+ gt.Gettext("Usage: %s\n"),
+ argv0,
+ )
+}
+
func Main() {