diff --git a/crates/nu-cmd-lang/src/core_commands/register.rs b/crates/nu-cmd-lang/src/core_commands/register.rs index 6e5b7eae0..eb2977b10 100644 --- a/crates/nu-cmd-lang/src/core_commands/register.rs +++ b/crates/nu-cmd-lang/src/core_commands/register.rs @@ -63,7 +63,7 @@ impl Command for Register { result: None, }, Example { - description: "Register `nu_plugin_query` plugin from `nu -c`(plugin will be available in that nu session only)", + description: "Register `nu_plugin_query` plugin from `nu -c` (writes/updates $nu.plugin-path)", example: r#"let plugin = ((which nu).path.0 | path dirname | path join 'nu_plugin_query'); nu -c $'register ($plugin); version'"#, result: None, },