nushell/crates/nu-cmd-lang/src/core_commands
NotTheDr01ds af6e1cb5a6
Added search terms to if (#13145)
# Description

In this PR, I continue my tradition of trivial but hopefully helpful
`help` tweaks. As mentioned in #13143, I noticed that `help -f else`
oddly didn't return the `if` statement itself. Perhaps not so oddly,
since who the heck is going to go looking for *"else"* in the help?
Well, I did ...

Added *"else"* and *"conditional"* to the search terms for `if`.

I'll work on the meat of #13143 next - That's more substantiative.

# User-Facing Changes

Help only

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
- 
# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2024-06-13 19:55:17 -05:00
..
overlay Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
scope Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
alias.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
break_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
collect.rs collect: don't require a closure (#12788) 2024-05-17 18:46:03 +02:00
const_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
continue_.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
def.rs Fix multiple issues with def --wrapped help example (#13123) 2024-06-10 19:12:54 -05:00
describe.rs Add string/binary type color to ByteStream (#12897) 2024-05-20 00:35:32 +00:00
do_.rs fix do closure with both required, options, and rest args (#13002) 2024-05-30 08:29:46 -05:00
echo.rs Mention print in the echo help text (#12436) 2024-04-06 20:24:00 -05:00
error_make.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
export_alias.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export_const.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export_def.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export_extern.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export_module.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export_use.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
export.rs Make get_full_help take &dyn Command (#12903) 2024-05-19 19:56:33 +02:00
extern_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
for_.rs Deprecate --numbered from for (#13112) 2024-06-10 03:01:22 +00:00
hide_env.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
hide.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
if_.rs Added search terms to if (#13145) 2024-06-13 19:55:17 -05:00
ignore.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
let_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
loop_.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
match_.rs nu-cmd-lang cleanup (#12609) 2024-04-25 14:16:12 +00:00
mod.rs Remove lazy records (#12682) 2024-05-03 08:36:10 +08:00
module.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
mut_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
return_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
try_.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
use_.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
version.rs Make which-support feature non-optional (#13125) 2024-06-12 20:04:12 -05:00
while_.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00