aboutsummaryrefslogtreecommitdiffstats
path: root/drive/upload_sync.go
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-02 22:39:21 +0100
committerPetter Rasmussen2016-02-02 22:44:55 +0100
commit5ad8ce4c919ec3a9b8a10848ceee693260b33be2 (patch)
tree4a13a1c2cee8c9f99cce38d5ee0606cc994e1bc3 /drive/upload_sync.go
parent2a392831aa7112a2faa700a55ad057557a39410b (diff)
downloadgdrive-5ad8ce4c919ec3a9b8a10848ceee693260b33be2.tar.bz2
Change wording
Diffstat (limited to 'drive/upload_sync.go')
-rw-r--r--drive/upload_sync.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/drive/upload_sync.go b/drive/upload_sync.go
index 748e61d..0af83f0 100644
--- a/drive/upload_sync.go
+++ b/drive/upload_sync.go
@@ -41,7 +41,7 @@ func (self *Drive) UploadSync(args UploadSyncArgs) error {
return err
}
- fmt.Fprintf(args.Out, "Found %d local file(s) and %d remote file(s)\n", len(files.local), len(files.remote))
+ fmt.Fprintf(args.Out, "Found %d local files and %d remote files\n", len(files.local), len(files.remote))
// Create missing directories
files, err = self.createMissingRemoteDirs(files, args)
@@ -151,7 +151,7 @@ func (self *Drive) createMissingRemoteDirs(files *syncFiles, args UploadSyncArgs
missingCount := len(missingDirs)
if missingCount > 0 {
- fmt.Fprintf(args.Out, "\n%d directories missing on drive\n", missingCount)
+ fmt.Fprintf(args.Out, "\n%d remote directories are missing\n", missingCount)
}
// Sort directories so that the dirs with the shortest path comes first
@@ -192,7 +192,7 @@ func (self *Drive) uploadMissingFiles(files *syncFiles, args UploadSyncArgs) err
missingCount := len(missingFiles)
if missingCount > 0 {
- fmt.Fprintf(args.Out, "\n%d file(s) missing on drive\n", missingCount)
+ fmt.Fprintf(args.Out, "\n%d remote files are missing\n", missingCount)
}
for i, lf := range missingFiles {
@@ -217,7 +217,7 @@ func (self *Drive) updateChangedFiles(files *syncFiles, args UploadSyncArgs) err
changedCount := len(changedFiles)
if changedCount > 0 {
- fmt.Fprintf(args.Out, "\n%d local file(s) has changed\n", changedCount)
+ fmt.Fprintf(args.Out, "\n%d local files has changed\n", changedCount)
}
for i, cf := range changedFiles {
@@ -236,7 +236,7 @@ func (self *Drive) deleteExtraneousRemoteFiles(files *syncFiles, args UploadSync
extraneousCount := len(extraneousFiles)
if extraneousCount > 0 {
- fmt.Fprintf(args.Out, "\n%d extraneous file(s) on drive\n", extraneousCount)
+ fmt.Fprintf(args.Out, "\n%d remote files are extraneous\n", extraneousCount)
}
// Sort files so that the files with the longest path comes first