From 03d48f03e1d5d411e714c55312c597828173971c Mon Sep 17 00:00:00 2001 From: Tyarel8 <98483313+Tyarel8@users.noreply.github.com> Date: Fri, 22 Aug 2025 19:58:30 +0200 Subject: [PATCH 1/2] add custom help to docs --- cookbook/help.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbook/help.md b/cookbook/help.md index f33c3abd776..bf96949f959 100644 --- a/cookbook/help.md +++ b/cookbook/help.md @@ -53,3 +53,9 @@ help http get # => http get content from example.com, with custom header # => > http get -H [my-header-key my-header-value] https://www.example.com ``` + +### Custom help command +If you want to change the `help` output, you can specify your own custom command named `help` and it will also be used for all `--help` invocations. An example of this is in the standard library. +```nu +use std/help +``` From 975bff29f9f3c0084606ba2d88319a579fb15367 Mon Sep 17 00:00:00 2001 From: Tyarel8 <98483313+Tyarel8@users.noreply.github.com> Date: Fri, 22 Aug 2025 20:13:34 +0200 Subject: [PATCH 2/2] specify -> create Co-authored-by: Ecorous --- cookbook/help.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/help.md b/cookbook/help.md index bf96949f959..0e399eed7ef 100644 --- a/cookbook/help.md +++ b/cookbook/help.md @@ -55,7 +55,7 @@ help http get ``` ### Custom help command -If you want to change the `help` output, you can specify your own custom command named `help` and it will also be used for all `--help` invocations. An example of this is in the standard library. +If you want to change the `help` output, you can create your own custom command named `help` and it will also be used for all `--help` invocations. An example of this is in the standard library. ```nu use std/help ```