From 1f6a3f2bfa70062a2a3ce457c2ca62e3c072cf53 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Sat, 24 Feb 2024 22:25:04 +0100 Subject: [PATCH] Printenv help: document --wincmd recipe --- src/alr/alr-commands-printenv.adb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/alr/alr-commands-printenv.adb b/src/alr/alr-commands-printenv.adb index 89d06be86..2774890c5 100644 --- a/src/alr/alr-commands-printenv.adb +++ b/src/alr/alr-commands-printenv.adb @@ -68,6 +68,8 @@ package body Alr.Commands.Printenv is .Append ("Examples:") .Append (" - eval $(alr printenv --unix)") .Append (" - alr printenv --powershell | Invoke-Expression") + .Append (" - for /F ""usebackq delims="" %x " + & "in (`alr printenv --wincmd`) do %x") ); --------------------