Skip to content

Commands called update Show Incorrect Documentation #18236

@neurolag

Description

@neurolag

Bug report form

  • I have done a basic search of the issue tracker to find any existing issues that are similar.
  • I have checked that my version is at least the latest stable release available via my installation method.

Describe the bug

When creating any command or subcommand named update, it will incorrectly show that it provides an update cells subcommand.

How to reproduce

  1. Create a module providing a update command
    lol.nu:
    export def update [] {}
    
    export module test {
        export def update [] {}
    }
  2. Notice how each command suggests the existence of a update cells command:
    use lol.nu
    lol update --help
    lol test update --help
    

Expected behavior

Only subcommands actually defined should appear.

Configuration

key value
version 0.112.3
major 0
minor 112
patch 3
branch main
commit_hash cef0dc4
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.93.1 (01f6ddf75 2026-02-11)
rust_channel 1.93.1-x86_64-unknown-linux-gnu
cargo_version cargo 1.93.1 (083ac5135 2025-12-15)
build_time 2026-05-18 18:32:49 +02:00
build_rust_channel debug
allocator standard
features default, mcp, network, plugin, rustls-tls, sqlite, trash-support
installed_plugins
experimental_options example=false, reorder-cell-paths=true, pipefail=true, enforce-runtime-annotations=false, native-clip=false, cell-path-types=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:needs-triageAn issue that hasn't had any proper look

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions