-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
A:modulesIssues related to functionality of the module system. See also usage:modulesIssues related to functionality of the module system. See also usage:modulescategory:inconsistent-behaviorBehavior between different commands or types inconsistent/unexpectedBehavior between different commands or types inconsistent/unexpectedstatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Milestone
Description
Describe the bug
as per title
How to reproduce
- define a command with usage and extra usage
# usage of cmd
#
# extra usage of cmd
def cmd [] {}- look at the command
scope commands | where name == "cmd" | into record | select usage? extra_usage?
=> it does have an extra usage
───────────┬──────────────────
usage │usage of cmd
extra_usage│extra usage of cmd
───────────┴──────────────────
- define a module with usage and extra usage
# usage of mod
#
# extra usage of mod
module mod {}- look at the module with
scope
scope modules | where name == "mod" | into record | select usage? extra_usage?
=> it does NOT have an extra usage
───────────┬────────────
usage │usage of mod
extra_usage│
───────────┴────────────
Expected behavior
i expected the scope modules pipeline to give
───────────┬──────────────────
usage │usage of mod
extra_usage│extra usage of mod
───────────┴──────────────────
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.89.0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.73.0 (cc66ad468 2023-10-03) |
| rust_channel | stable-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.73.0 (9c4383fb5 2023-08-26) |
| build_time | 2024-01-11 18:20:14 +01:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, trash, which, zip |
| installed_plugins | clipboard copy, clipboard paste, gstat |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:modulesIssues related to functionality of the module system. See also usage:modulesIssues related to functionality of the module system. See also usage:modulescategory:inconsistent-behaviorBehavior between different commands or types inconsistent/unexpectedBehavior between different commands or types inconsistent/unexpectedstatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look