aboutsummaryrefslogtreecommitdiffstats
path: root/gdrive.go
diff options
context:
space:
mode:
Diffstat (limited to 'gdrive.go')
-rw-r--r--gdrive.go15
1 files changed, 14 insertions, 1 deletions
diff --git a/gdrive.go b/gdrive.go
index ecb6950..ef52f30 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -2,8 +2,9 @@ package main
import (
"fmt"
- "github.com/prasmussen/gdrive/cli"
"os"
+
+ "github.com/prasmussen/gdrive/cli"
)
const Name = "gdrive"
@@ -107,6 +108,12 @@ func main() {
OmitValue: true,
},
cli.BoolFlag{
+ Name: "skip",
+ Patterns: []string{"-s", "--skip"},
+ Description: "Skip existing files",
+ OmitValue: true,
+ },
+ cli.BoolFlag{
Name: "recursive",
Patterns: []string{"-r", "--recursive"},
Description: "Download directory recursively, documents will be skipped",
@@ -158,6 +165,12 @@ func main() {
OmitValue: true,
},
cli.BoolFlag{
+ Name: "skip",
+ Patterns: []string{"-s", "--skip"},
+ Description: "Skip existing files",
+ OmitValue: true,
+ },
+ cli.BoolFlag{
Name: "recursive",
Patterns: []string{"-r", "--recursive"},
Description: "Download directories recursively, documents will be skipped",