docs: consistent newline of first line in command output

This commit is contained in:
albertony
2024-08-15 18:26:34 +02:00
parent ae9960a4ed
commit 482bfae8fa
48 changed files with 62 additions and 117 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ func init() {
var completionDefinition = &cobra.Command{
Use: "completion [shell]",
Short: `Output completion script for a given shell.`,
Long: `
Generates a shell completion script for rclone.
Long: `Generates a shell completion script for rclone.
Run with ` + "`--help`" + ` to list the supported shells.
`,
Annotations: map[string]string{
+1 -2
View File
@@ -15,8 +15,7 @@ func init() {
var bashCommandDefinition = &cobra.Command{
Use: "bash [output_file]",
Short: `Output bash completion script for rclone.`,
Long: `
Generates a bash shell autocompletion script for rclone.
Long: `Generates a bash shell autocompletion script for rclone.
By default, when run without any arguments,
+1 -2
View File
@@ -15,8 +15,7 @@ func init() {
var fishCommandDefinition = &cobra.Command{
Use: "fish [output_file]",
Short: `Output fish completion script for rclone.`,
Long: `
Generates a fish autocompletion script for rclone.
Long: `Generates a fish autocompletion script for rclone.
This writes to /etc/fish/completions/rclone.fish by default so will
probably need to be run with sudo or as root, e.g.
@@ -15,8 +15,7 @@ func init() {
var powershellCommandDefinition = &cobra.Command{
Use: "powershell [output_file]",
Short: `Output powershell completion script for rclone.`,
Long: `
Generate the autocompletion script for powershell.
Long: `Generate the autocompletion script for powershell.
To load completions in your current shell session:
+1 -2
View File
@@ -15,8 +15,7 @@ func init() {
var zshCommandDefinition = &cobra.Command{
Use: "zsh [output_file]",
Short: `Output zsh completion script for rclone.`,
Long: `
Generates a zsh autocompletion script for rclone.
Long: `Generates a zsh autocompletion script for rclone.
This writes to /usr/share/zsh/vendor-completions/_rclone by default so will
probably need to be run with sudo or as root, e.g.