mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 06:38:43 +02:00
remote --help/-h from $scope.commands display (#3311)
* remote --help/-h from $scope.commands * change a test
This commit is contained in:
@ -82,7 +82,7 @@ fn scope_variable_with_command_present() {
|
||||
|
||||
assert_that!(
|
||||
nu.pipeline("def meaning-of-life [--number: int] { echo $number }; echo $scope.commands | get meaning-of-life"),
|
||||
says().to_stdout("-h --help --number")
|
||||
says().to_stdout("--number")
|
||||
);
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user