aboutsummaryrefslogtreecommitdiffstats
path: root/gdrive.go
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-21 16:15:11 +0100
committerPetter Rasmussen2016-02-21 16:15:11 +0100
commitf20a7f8125d3250eeea106860009b44dca9513dd (patch)
treeda0e46e00c60f72231d6603cde7b4ae599cebbf6 /gdrive.go
parent9ee98bcb544c3c7da54e4674c219d459cf01a133 (diff)
downloadgdrive-f20a7f8125d3250eeea106860009b44dca9513dd.tar.bz2
Add --absolute flag to show abs path to file
Diffstat (limited to 'gdrive.go')
-rw-r--r--gdrive.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdrive.go b/gdrive.go
index d0a8c09..d9181c6 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -72,6 +72,12 @@ func main() {
DefaultValue: DefaultNameWidth,
},
cli.BoolFlag{
+ Name: "absPath",
+ Patterns: []string{"--absolute"},
+ Description: "Show absolute path to file (will only show path from first parent)",
+ OmitValue: true,
+ },
+ cli.BoolFlag{
Name: "skipHeader",
Patterns: []string{"--no-header"},
Description: "Dont print the header",