aboutsummaryrefslogtreecommitdiffstats
path: root/gdrive.go
diff options
context:
space:
mode:
Diffstat (limited to 'gdrive.go')
-rw-r--r--gdrive.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdrive.go b/gdrive.go
index f884b8e..97f5e91 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -109,10 +109,10 @@ func main() {
Description: "Upload directory recursively",
OmitValue: true,
},
- cli.StringFlag{
+ cli.StringSliceFlag{
Name: "parent",
Patterns: []string{"-p", "--parent"},
- Description: "Parent id, used to upload file to a specific directory",
+ Description: "Parent id, used to upload file to a specific directory, can be specified multiple times to give many parents",
},
cli.StringFlag{
Name: "name",
@@ -168,10 +168,10 @@ func main() {
Flags: cli.Flags{
"global options": globalFlags,
"options": []cli.Flag{
- cli.StringFlag{
+ cli.StringSliceFlag{
Name: "parent",
Patterns: []string{"-p", "--parent"},
- Description: "Parent id of created directory",
+ Description: "Parent id of created directory, can be specified multiple times to give many parents",
},
cli.BoolFlag{
Name: "share",