From 38f4ab0bc9deaf67e59e91a5233e1955925ad000 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 25 Oct 2023 09:38:20 -0500 Subject: [PATCH] updated NU_LIB_DIRS delimiter for command line (#10837) # Description This PR corrects some help text by stating what the real delimiter is for the `--include-path` command line parameter which is `char record_sep` aka `\x1e`. Up to this point, this has really only been used for the vscode extension to setup the NU_LIB_DIRS env var correctly. We tried `:` and `;` and neither would work so we had to choose something that wouldn't be confused so easily. # User-Facing Changes # Tests + Formatting # After Submitting --- src/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.rs b/src/command.rs index 3172a8048a..eeacfd9150 100644 --- a/src/command.rs +++ b/src/command.rs @@ -262,7 +262,7 @@ impl Command for Nu { .named( "include-path", SyntaxShape::String, - "set the NU_LIB_DIRS for the given script (semicolon-delimited)", + "set the NU_LIB_DIRS for the given script (delimited by char record_sep ('\x1e'))", Some('I'), ) .switch("interactive", "start as an interactive shell", Some('i'))