aboutsummaryrefslogtreecommitdiffstats
path: root/gdrive.go
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-13 22:34:17 +0100
committerPetter Rasmussen2016-02-13 22:34:17 +0100
commit46f65e8a2d158a0421f2afc8f77ea441df1de35f (patch)
tree11dc87c17993639e7baaa734c759a034f87f3b3f /gdrive.go
parent6d78f27d416bae8d446f495ca5414894410d5e5b (diff)
downloadgdrive-46f65e8a2d158a0421f2afc8f77ea441df1de35f.tar.bz2
Consolidate file download logic, add --path flag to revision download
Diffstat (limited to 'gdrive.go')
-rw-r--r--gdrive.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdrive.go b/gdrive.go
index 36b4a09..d286f1b 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -577,6 +577,11 @@ func main() {
Description: "Write file content to stdout",
OmitValue: true,
},
+ cli.StringFlag{
+ Name: "path",
+ Patterns: []string{"--path"},
+ Description: "Download path",
+ },
),
},
},