From 4673adecc51505bc6446cb1c35c37d96ed080d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Thu, 2 Jun 2022 23:00:29 +0300 Subject: [PATCH] Fix wrong `path` help message (#5698) --- crates/nu-command/src/path/path_.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/path/path_.rs b/crates/nu-command/src/path/path_.rs index b9af3b3949..5fe335a0b8 100644 --- a/crates/nu-command/src/path/path_.rs +++ b/crates/nu-command/src/path/path_.rs @@ -28,8 +28,8 @@ impl Command for PathCommand { * As a structured path: a table with 'parent', 'stem', and 'extension' (and * 'prefix' on Windows) columns. This format is produced by the 'path parse' subcommand. -* As an inner list of path parts, e.g., '[[ / home viking spam.txt ]]'. - Splitting into parts is done by the `path split` command. +* As a list of path parts, e.g., '[ / home viking spam.txt ]'. Splitting into + parts is done by the `path split` command. All subcommands accept all three variants as an input. Furthermore, the 'path join' subcommand can be used to join the structured path or path parts back into