diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2023-04-17 13:28:47 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2023-04-17 14:54:52 +0200 |
| commit | 72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3 (patch) | |
| tree | aa14acc93110f363b54eaa0218b9c0e25ee545dc /internal/rtree/main.go | |
| parent | be0e424eecec3fec19ba3518f8fd1bb07b6908dc (diff) | |
| download | gofu-72c757b7a44dc5d19d821f7c2fa36bb082e4f2e3.tar.gz | |
Save rtree with go 1.20
Diffstat (limited to 'internal/rtree/main.go')
| -rw-r--r-- | internal/rtree/main.go | 10 |
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 |
