Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Add version string to debug startup message

Nick Craig-Woodf15e7e89d2e0
diff --git a/rclone.go b/rclone.go
index 5d1c8d226..8186b3797 100644
--- a/rclone.go
+++ b/rclone.go
@@ -418,7 +418,7 @@ func main() {
fs.LoadConfig()
// Write the args for debug purposes
- fs.Debug("rclone", "Starting with parameters %q", os.Args)
+ fs.Debug("rclone", "Version %q starting with parameters %q", fs.Version, os.Args)
// Setup CPU profiling if desired
if *cpuProfile != "" {