aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Rasmussen2016-01-24 23:20:37 +0100
committerPetter Rasmussen2016-01-24 23:20:37 +0100
commit11f577b5dbe0429f206c80b674d666d44b3a79c2 (patch)
treedccd3389393ffa80ea903ce0cde74a5b4d5b41dc
parent625d65cd145a1c392a7c5a7968d738d8dc55c75b (diff)
downloadgdrive-11f577b5dbe0429f206c80b674d666d44b3a79c2.tar.bz2
Change order of flags
-rw-r--r--gdrive.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdrive.go b/gdrive.go
index 71e4a7b..7d73dce 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -110,17 +110,17 @@ func main() {
Description: "Overwrite existing file",
OmitValue: true,
},
- cli.StringFlag{
- Name: "path",
- Patterns: []string{"--path"},
- Description: "Download path",
- },
cli.BoolFlag{
Name: "recursive",
Patterns: []string{"-r", "--recursive"},
Description: "Download directory recursively, documents will be skipped",
OmitValue: true,
},
+ cli.StringFlag{
+ Name: "path",
+ Patterns: []string{"--path"},
+ Description: "Download path",
+ },
cli.BoolFlag{
Name: "noProgress",
Patterns: []string{"--no-progress"},