aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/cli.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cli.go b/cli/cli.go
index adc50d7..b931733 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -169,7 +169,7 @@ func makeFolder(d *gdrive.Drive, title string, parentId string, share bool) (*dr
// Upload file to drive
func UploadStdin(d *gdrive.Drive, input io.ReadCloser, title string, parentId string, share bool, mimeType string, convert bool) error {
// File instance
- f := &drive.File{Title: "untitled"}
+ f := &drive.File{Title: title}
// Set parent (if provided)
if parentId != "" {
p := &drive.ParentReference{Id: parentId}