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

genautocomplete: rename to completion with alias to old name

Nick Craig-Wood51a468b2bae4
diff --git a/cmd/genautocomplete/genautocomplete.go b/cmd/genautocomplete/genautocomplete.go
index c1408d9f7..029b381d3 100644
--- a/cmd/genautocomplete/genautocomplete.go
+++ b/cmd/genautocomplete/genautocomplete.go
@@ -11,7 +11,7 @@ func init() {
}
var completionDefinition = &cobra.Command{
- Use: "genautocomplete [shell]",
+ Use: "completion [shell]",
Short: `Output completion script for a given shell.`,
Long: `
Generates a shell completion script for rclone.
@@ -20,4 +20,5 @@ Run with ` + "`--help`" + ` to list the supported shells.
Annotations: map[string]string{
"versionIntroduced": "v1.33",
},
+ Aliases: []string{"genautocomplete"},
}