docs: consistent newline of first line in command output
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user