From cbd419d8b27699c1e26313b9020ff34478052cb6 Mon Sep 17 00:00:00 2001 From: mgrojo Date: Sat, 14 Oct 2023 20:34:44 +0200 Subject: [PATCH] Fix `pandoc` output Add a new line before lists * It can be read better in the terminal * It make the list work with `pandoc` Add new CLIC commit also for `pandoc`. --- deps/clic | 2 +- src/alr/alr-commands-printenv.adb | 1 + src/alr/alr-commands-show.adb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/clic b/deps/clic index 2a5861dcd..56f505778 160000 --- a/deps/clic +++ b/deps/clic @@ -1 +1 @@ -Subproject commit 2a5861dcdba0d431b26283d487fa97584183ea21 +Subproject commit 56f5057781d5913eeab65c8d5811aa6b60477b1d diff --git a/src/alr/alr-commands-printenv.adb b/src/alr/alr-commands-printenv.adb index 0bf6e123a..644291e98 100644 --- a/src/alr/alr-commands-printenv.adb +++ b/src/alr/alr-commands-printenv.adb @@ -66,6 +66,7 @@ package body Alr.Commands.Printenv is " for instance before starting an IDE.") .New_Line .Append ("Examples:") + .New_Line .Append ("* eval $(alr printenv --unix)") .Append ("* alr printenv --powershell | Invoke-Expression") ); diff --git a/src/alr/alr-commands-show.adb b/src/alr/alr-commands-show.adb index aab7a0fee..cf8c7e195 100644 --- a/src/alr/alr-commands-show.adb +++ b/src/alr/alr-commands-show.adb @@ -362,6 +362,7 @@ package body Alr.Commands.Show is .New_Line .Append ("The " & Formatter.Terminal ("--dependents") & " switch accepts these values:") + .New_Line .Append ("* " & Formatter.Terminal ("direct") & " (default) shows direct dependents.") .Append ("* " & Formatter.Terminal ("all")