aboutsummaryrefslogtreecommitdiff
path: root/src/gistatic.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/gistatic.go')
-rw-r--r--src/gistatic.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gistatic.go b/src/gistatic.go
index b4ad501..14954fc 100644
--- a/src/gistatic.go
+++ b/src/gistatic.go
@@ -54,16 +54,14 @@ func getopt(allArgs []string, w io.Writer) (argsT, int) {
return argsT{}, 2
}
- args := argsT{
+ return argsT{
outputPath: *outputPath,
cloneUrl: *cloneUrl,
allArgs: allArgs,
- }
-
- return args, 0
+ }, 0
}
-func run(args argsT, stdin io.Reader, stdout io.Writer, stderr io.Writer) int {
+func run(args argsT, stdin io.Reader, stdout io.Writer, stderr io.Writer) int {
return 0
}