From 047dac18601931663a580a19382388eaa554a938 Mon Sep 17 00:00:00 2001
From: Ilya Grigoriev <ilyagr@users.noreply.github.com>
Date: Tue, 7 May 2024 14:35:31 -0700
Subject: [PATCH] cli `jj util completion --help`: Make the terminal output a
 bit less ugly

Cc: https://github.com/martinvonz/jj/pull/2949#issuecomment-2098710774
---
 cli/src/commands/util.rs         | 8 ++++----
 cli/tests/cli-reference@.md.snap | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/cli/src/commands/util.rs b/cli/src/commands/util.rs
index 49b0a04e054..8ddffc88094 100644
--- a/cli/src/commands/util.rs
+++ b/cli/src/commands/util.rs
@@ -40,14 +40,14 @@ pub(crate) enum UtilCommand {
 
 Apply it by running one of these:
 
-- **bash**: `source <(jj util completion bash)`
-- **fish**: `jj util completion fish | source`
-- **nushell**:
+- Bash: `source <(jj util completion bash)`
+- Fish: `jj util completion fish | source`
+- Nushell:
      ```nu
      jj util completion nushell | save "completions-jj.nu"
      use "completions-jj.nu" *  # Or `source "completions-jj.nu"`
      ```
-- **zsh**:
+- Zsh:
      ```shell
      autoload -U compinit
      compinit
diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap
index e97ae176657..ba895fff647 100644
--- a/cli/tests/cli-reference@.md.snap
+++ b/cli/tests/cli-reference@.md.snap
@@ -1860,14 +1860,14 @@ Print a command-line-completion script
 
 Apply it by running one of these:
 
-- **bash**: `source <(jj util completion bash)`
-- **fish**: `jj util completion fish | source`
-- **nushell**:
+- Bash: `source <(jj util completion bash)`
+- Fish: `jj util completion fish | source`
+- Nushell:
     ```nu
     jj util completion nushell | save "completions-jj.nu"
     use "completions-jj.nu" *  # Or `source "completions-jj.nu"`
     ```
-- **zsh**:
+- Zsh:
     ```shell
     autoload -U compinit
     compinit