summaryrefslogtreecommitdiff
path: root/internal/rtree/main.go
diff options
context:
space:
mode:
authorStefan Majewsky <stefan.majewsky@sap.com>2023-04-17 15:05:10 +0200
committerGitHub <noreply@github.com>2023-04-17 15:05:10 +0200
commit7c93bb18bf4e8fc8a56c1524fabea462ee8cf8f0 (patch)
treeea285343822712bf002ad6dee0b11a094b442e2d /internal/rtree/main.go
parentbe0e424eecec3fec19ba3518f8fd1bb07b6908dc (diff)
parentd0059fcb87312d296a31d6965d6db84e499fe020 (diff)
downloadgofu-7c93bb18bf4e8fc8a56c1524fabea462ee8cf8f0.tar.gz
Merge pull request #9 from SuperSandro2000/dont-compact
Don't compact URLs
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