summaryrefslogtreecommitdiff
path: root/internal/rtree/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rtree/main.go')
-rw-r--r--internal/rtree/main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/rtree/main.go b/internal/rtree/main.go
index f401ced..7e27428 100644
--- a/internal/rtree/main.go
+++ b/internal/rtree/main.go
@@ -24,11 +24,11 @@ import (
"github.com/majewsky/gofu/internal/cli"
)
-//Exec executes the rtree applet and returns an exit code (0 for success, >0
-//for error). The argument is os.Args minus the leading "rtree" or "gofu
-//rtree". All side-effects (reading from stdin, writing to stdout/stderr,
-//executing other programs) pass through cli.Interface and can be intercepted
-//there for the purpose of testing.
+// Exec executes the rtree applet and returns an exit code (0 for success, >0
+// for error). The argument is os.Args minus the leading "rtree" or "gofu
+// rtree". All side-effects (reading from stdin, writing to stdout/stderr,
+// executing other programs) pass through cli.Interface and can be intercepted
+// there for the purpose of testing.
func Exec(args []string) int {
if !Init() {
return 1