diff --git a/crates/nu-cli/src/print.rs b/crates/nu-cli/src/print.rs index a41e78a2d0..563b2239f5 100644 --- a/crates/nu-cli/src/print.rs +++ b/crates/nu-cli/src/print.rs @@ -28,7 +28,7 @@ impl Command for Print { } fn usage(&self) -> &str { - "Print the given values to stdout" + "Print the given values to stdout." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-cmd-lang/src/core_commands/alias.rs b/crates/nu-cmd-lang/src/core_commands/alias.rs index d9d5a5792d..5af4ce8257 100644 --- a/crates/nu-cmd-lang/src/core_commands/alias.rs +++ b/crates/nu-cmd-lang/src/core_commands/alias.rs @@ -13,7 +13,7 @@ impl Command for Alias { } fn usage(&self) -> &str { - "Alias a command (with optional flags) to a new name" + "Alias a command (with optional flags) to a new name." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/break_.rs b/crates/nu-cmd-lang/src/core_commands/break_.rs index 2fab61682a..5bc6d44d10 100644 --- a/crates/nu-cmd-lang/src/core_commands/break_.rs +++ b/crates/nu-cmd-lang/src/core_commands/break_.rs @@ -11,7 +11,7 @@ impl Command for Break { } fn usage(&self) -> &str { - "Break a loop" + "Break a loop." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/commandline.rs b/crates/nu-cmd-lang/src/core_commands/commandline.rs index f371613c5e..988f112a14 100644 --- a/crates/nu-cmd-lang/src/core_commands/commandline.rs +++ b/crates/nu-cmd-lang/src/core_commands/commandline.rs @@ -41,7 +41,7 @@ impl Command for Commandline { } fn usage(&self) -> &str { - "View or modify the current command line input buffer" + "View or modify the current command line input buffer." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-cmd-lang/src/core_commands/continue_.rs b/crates/nu-cmd-lang/src/core_commands/continue_.rs index 24578526ea..19c11ab8d3 100644 --- a/crates/nu-cmd-lang/src/core_commands/continue_.rs +++ b/crates/nu-cmd-lang/src/core_commands/continue_.rs @@ -11,7 +11,7 @@ impl Command for Continue { } fn usage(&self) -> &str { - "Continue a loop from the next iteration" + "Continue a loop from the next iteration." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/def.rs b/crates/nu-cmd-lang/src/core_commands/def.rs index 7dc10ca8b7..f4f0560e84 100644 --- a/crates/nu-cmd-lang/src/core_commands/def.rs +++ b/crates/nu-cmd-lang/src/core_commands/def.rs @@ -13,7 +13,7 @@ impl Command for Def { } fn usage(&self) -> &str { - "Define a custom command" + "Define a custom command." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/def_env.rs b/crates/nu-cmd-lang/src/core_commands/def_env.rs index 803e68d5bb..ce6adb8ecf 100644 --- a/crates/nu-cmd-lang/src/core_commands/def_env.rs +++ b/crates/nu-cmd-lang/src/core_commands/def_env.rs @@ -13,7 +13,7 @@ impl Command for DefEnv { } fn usage(&self) -> &str { - "Define a custom command, which participates in the caller environment" + "Define a custom command, which participates in the caller environment." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/do_.rs b/crates/nu-cmd-lang/src/core_commands/do_.rs index 0fa103865b..4d55e4c2c2 100644 --- a/crates/nu-cmd-lang/src/core_commands/do_.rs +++ b/crates/nu-cmd-lang/src/core_commands/do_.rs @@ -17,7 +17,7 @@ impl Command for Do { } fn usage(&self) -> &str { - "Run a closure, providing it with the pipeline input" + "Run a closure, providing it with the pipeline input." } fn signature(&self) -> Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/export_alias.rs b/crates/nu-cmd-lang/src/core_commands/export_alias.rs index 10df0e197b..ca028fdc32 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_alias.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_alias.rs @@ -13,7 +13,7 @@ impl Command for ExportAlias { } fn usage(&self) -> &str { - "Alias a command (with optional flags) to a new name and export it from a module" + "Alias a command (with optional flags) to a new name and export it from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/export_def.rs b/crates/nu-cmd-lang/src/core_commands/export_def.rs index f4d1251f07..8ef58eb236 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_def.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_def.rs @@ -13,7 +13,7 @@ impl Command for ExportDef { } fn usage(&self) -> &str { - "Define a custom command and export it from a module" + "Define a custom command and export it from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/export_def_env.rs b/crates/nu-cmd-lang/src/core_commands/export_def_env.rs index 48e650b643..1e0c7f61b9 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_def_env.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_def_env.rs @@ -13,7 +13,7 @@ impl Command for ExportDefEnv { } fn usage(&self) -> &str { - "Define a custom command that participates in the environment and export it from a module" + "Define a custom command that participates in the environment and export it from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/export_extern.rs b/crates/nu-cmd-lang/src/core_commands/export_extern.rs index 186c722af3..4c0e23ff0e 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_extern.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_extern.rs @@ -11,7 +11,7 @@ impl Command for ExportExtern { } fn usage(&self) -> &str { - "Define an extern and export it from a module" + "Define an extern and export it from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/export_use.rs b/crates/nu-cmd-lang/src/core_commands/export_use.rs index 4d2b5638e0..64ca720e60 100644 --- a/crates/nu-cmd-lang/src/core_commands/export_use.rs +++ b/crates/nu-cmd-lang/src/core_commands/export_use.rs @@ -13,7 +13,7 @@ impl Command for ExportUse { } fn usage(&self) -> &str { - "Use definitions from a module and export them from this module" + "Use definitions from a module and export them from this module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/extern_.rs b/crates/nu-cmd-lang/src/core_commands/extern_.rs index 1b35bb23f8..8b6846606c 100644 --- a/crates/nu-cmd-lang/src/core_commands/extern_.rs +++ b/crates/nu-cmd-lang/src/core_commands/extern_.rs @@ -11,7 +11,7 @@ impl Command for Extern { } fn usage(&self) -> &str { - "Define a signature for an external command" + "Define a signature for an external command." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/for_.rs b/crates/nu-cmd-lang/src/core_commands/for_.rs index ee7d45bd34..bc88ba6f49 100644 --- a/crates/nu-cmd-lang/src/core_commands/for_.rs +++ b/crates/nu-cmd-lang/src/core_commands/for_.rs @@ -14,7 +14,7 @@ impl Command for For { } fn usage(&self) -> &str { - "Loop over a range" + "Loop over a range." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/hide.rs b/crates/nu-cmd-lang/src/core_commands/hide.rs index 80966a9ca7..5f768205b5 100644 --- a/crates/nu-cmd-lang/src/core_commands/hide.rs +++ b/crates/nu-cmd-lang/src/core_commands/hide.rs @@ -23,7 +23,7 @@ impl Command for Hide { } fn usage(&self) -> &str { - "Hide definitions in the current scope" + "Hide definitions in the current scope." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-cmd-lang/src/core_commands/hide_env.rs b/crates/nu-cmd-lang/src/core_commands/hide_env.rs index 9fa2715a96..454e2b2865 100644 --- a/crates/nu-cmd-lang/src/core_commands/hide_env.rs +++ b/crates/nu-cmd-lang/src/core_commands/hide_env.rs @@ -31,7 +31,7 @@ impl Command for HideEnv { } fn usage(&self) -> &str { - "Hide environment variables in the current scope" + "Hide environment variables in the current scope." } fn run( diff --git a/crates/nu-cmd-lang/src/core_commands/ignore.rs b/crates/nu-cmd-lang/src/core_commands/ignore.rs index 5695029515..11680d4e5a 100644 --- a/crates/nu-cmd-lang/src/core_commands/ignore.rs +++ b/crates/nu-cmd-lang/src/core_commands/ignore.rs @@ -11,7 +11,7 @@ impl Command for Ignore { } fn usage(&self) -> &str { - "Ignore the output of the previous command in the pipeline" + "Ignore the output of the previous command in the pipeline." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/module.rs b/crates/nu-cmd-lang/src/core_commands/module.rs index 3e11eab969..74ebc98473 100644 --- a/crates/nu-cmd-lang/src/core_commands/module.rs +++ b/crates/nu-cmd-lang/src/core_commands/module.rs @@ -13,7 +13,7 @@ impl Command for Module { } fn usage(&self) -> &str { - "Define a custom module" + "Define a custom module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/overlay/hide.rs b/crates/nu-cmd-lang/src/core_commands/overlay/hide.rs index d4f970bfd4..c1127ea42a 100644 --- a/crates/nu-cmd-lang/src/core_commands/overlay/hide.rs +++ b/crates/nu-cmd-lang/src/core_commands/overlay/hide.rs @@ -14,7 +14,7 @@ impl Command for OverlayHide { } fn usage(&self) -> &str { - "Hide an active overlay" + "Hide an active overlay." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/overlay/list.rs b/crates/nu-cmd-lang/src/core_commands/overlay/list.rs index 90af373d5b..de0321291d 100644 --- a/crates/nu-cmd-lang/src/core_commands/overlay/list.rs +++ b/crates/nu-cmd-lang/src/core_commands/overlay/list.rs @@ -13,7 +13,7 @@ impl Command for OverlayList { } fn usage(&self) -> &str { - "List all active overlays" + "List all active overlays." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/overlay/new.rs b/crates/nu-cmd-lang/src/core_commands/overlay/new.rs index 231db25250..d0ca02fb0b 100644 --- a/crates/nu-cmd-lang/src/core_commands/overlay/new.rs +++ b/crates/nu-cmd-lang/src/core_commands/overlay/new.rs @@ -14,7 +14,7 @@ impl Command for OverlayNew { } fn usage(&self) -> &str { - "Create an empty overlay" + "Create an empty overlay." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/overlay/use_.rs b/crates/nu-cmd-lang/src/core_commands/overlay/use_.rs index 5dbcd9b825..024623426c 100644 --- a/crates/nu-cmd-lang/src/core_commands/overlay/use_.rs +++ b/crates/nu-cmd-lang/src/core_commands/overlay/use_.rs @@ -17,7 +17,7 @@ impl Command for OverlayUse { } fn usage(&self) -> &str { - "Use definitions from a module as an overlay" + "Use definitions from a module as an overlay." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/register.rs b/crates/nu-cmd-lang/src/core_commands/register.rs index 77d4e576ba..6e5b7eae04 100644 --- a/crates/nu-cmd-lang/src/core_commands/register.rs +++ b/crates/nu-cmd-lang/src/core_commands/register.rs @@ -11,7 +11,7 @@ impl Command for Register { } fn usage(&self) -> &str { - "Register a plugin" + "Register a plugin." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/return_.rs b/crates/nu-cmd-lang/src/core_commands/return_.rs index 2277a6a6a9..80cdb27d45 100644 --- a/crates/nu-cmd-lang/src/core_commands/return_.rs +++ b/crates/nu-cmd-lang/src/core_commands/return_.rs @@ -14,7 +14,7 @@ impl Command for Return { } fn usage(&self) -> &str { - "Return early from a function" + "Return early from a function." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/try_.rs b/crates/nu-cmd-lang/src/core_commands/try_.rs index 4b5dbfdff0..c5eab1aefe 100644 --- a/crates/nu-cmd-lang/src/core_commands/try_.rs +++ b/crates/nu-cmd-lang/src/core_commands/try_.rs @@ -15,7 +15,7 @@ impl Command for Try { } fn usage(&self) -> &str { - "Try to run a block, if it fails optionally run a catch block" + "Try to run a block, if it fails optionally run a catch block." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-cmd-lang/src/core_commands/use_.rs b/crates/nu-cmd-lang/src/core_commands/use_.rs index 0a4ecaf45f..7b4afbeee2 100644 --- a/crates/nu-cmd-lang/src/core_commands/use_.rs +++ b/crates/nu-cmd-lang/src/core_commands/use_.rs @@ -14,7 +14,7 @@ impl Command for Use { } fn usage(&self) -> &str { - "Use definitions from a module" + "Use definitions from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/bits/and.rs b/crates/nu-command/src/bits/and.rs index 4586c12bf0..6c12643ac1 100644 --- a/crates/nu-command/src/bits/and.rs +++ b/crates/nu-command/src/bits/and.rs @@ -26,7 +26,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Performs bitwise and for integers" + "Performs bitwise and for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/bits_.rs b/crates/nu-command/src/bits/bits_.rs index 44f2c15db8..75d9acd340 100644 --- a/crates/nu-command/src/bits/bits_.rs +++ b/crates/nu-command/src/bits/bits_.rs @@ -20,7 +20,7 @@ impl Command for Bits { } fn usage(&self) -> &str { - "Various commands for working with bits" + "Various commands for working with bits." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/bits/not.rs b/crates/nu-command/src/bits/not.rs index 3363d7dd7c..fefa1cd138 100644 --- a/crates/nu-command/src/bits/not.rs +++ b/crates/nu-command/src/bits/not.rs @@ -33,7 +33,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Performs logical negation on each bit" + "Performs logical negation on each bit." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/or.rs b/crates/nu-command/src/bits/or.rs index 4950e737a3..7b3fdb1e7c 100644 --- a/crates/nu-command/src/bits/or.rs +++ b/crates/nu-command/src/bits/or.rs @@ -26,7 +26,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Performs bitwise or for integers" + "Performs bitwise or for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/rotate_left.rs b/crates/nu-command/src/bits/rotate_left.rs index 6693248776..e4e07c5d1f 100644 --- a/crates/nu-command/src/bits/rotate_left.rs +++ b/crates/nu-command/src/bits/rotate_left.rs @@ -36,7 +36,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Bitwise rotate left for integers" + "Bitwise rotate left for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/rotate_right.rs b/crates/nu-command/src/bits/rotate_right.rs index 91841b9880..9a2650a51c 100644 --- a/crates/nu-command/src/bits/rotate_right.rs +++ b/crates/nu-command/src/bits/rotate_right.rs @@ -36,7 +36,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Bitwise rotate right for integers" + "Bitwise rotate right for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/shift_left.rs b/crates/nu-command/src/bits/shift_left.rs index 599dd0a4e0..ff6cef1648 100644 --- a/crates/nu-command/src/bits/shift_left.rs +++ b/crates/nu-command/src/bits/shift_left.rs @@ -36,7 +36,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Bitwise shift left for integers" + "Bitwise shift left for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/shift_right.rs b/crates/nu-command/src/bits/shift_right.rs index 668439220f..cf0ec1f532 100644 --- a/crates/nu-command/src/bits/shift_right.rs +++ b/crates/nu-command/src/bits/shift_right.rs @@ -36,7 +36,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Bitwise shift right for integers" + "Bitwise shift right for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bits/xor.rs b/crates/nu-command/src/bits/xor.rs index 289f2484d9..f509f1ab99 100644 --- a/crates/nu-command/src/bits/xor.rs +++ b/crates/nu-command/src/bits/xor.rs @@ -26,7 +26,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Performs bitwise xor for integers" + "Performs bitwise xor for integers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/add.rs b/crates/nu-command/src/bytes/add.rs index a7f321b4fa..2276567bed 100644 --- a/crates/nu-command/src/bytes/add.rs +++ b/crates/nu-command/src/bytes/add.rs @@ -49,7 +49,7 @@ impl Command for BytesAdd { } fn usage(&self) -> &str { - "Add specified bytes to the input" + "Add specified bytes to the input." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/bytes_.rs b/crates/nu-command/src/bytes/bytes_.rs index d7366c52e1..08117e29d6 100644 --- a/crates/nu-command/src/bytes/bytes_.rs +++ b/crates/nu-command/src/bytes/bytes_.rs @@ -20,7 +20,7 @@ impl Command for Bytes { } fn usage(&self) -> &str { - "Various commands for working with byte data" + "Various commands for working with byte data." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/bytes/collect.rs b/crates/nu-command/src/bytes/collect.rs index 5dfd2f1900..881481ba94 100644 --- a/crates/nu-command/src/bytes/collect.rs +++ b/crates/nu-command/src/bytes/collect.rs @@ -26,7 +26,7 @@ impl Command for BytesCollect { } fn usage(&self) -> &str { - "Concatenate multiple binary into a single binary, with an optional separator between each" + "Concatenate multiple binary into a single binary, with an optional separator between each." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/ends_with.rs b/crates/nu-command/src/bytes/ends_with.rs index 44aeb12e66..73b8d520ab 100644 --- a/crates/nu-command/src/bytes/ends_with.rs +++ b/crates/nu-command/src/bytes/ends_with.rs @@ -39,7 +39,7 @@ impl Command for BytesEndsWith { } fn usage(&self) -> &str { - "Check if bytes ends with a pattern" + "Check if bytes ends with a pattern." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/index_of.rs b/crates/nu-command/src/bytes/index_of.rs index d8609296f0..2357355048 100644 --- a/crates/nu-command/src/bytes/index_of.rs +++ b/crates/nu-command/src/bytes/index_of.rs @@ -49,7 +49,7 @@ impl Command for BytesIndexOf { } fn usage(&self) -> &str { - "Returns start index of first occurrence of pattern in bytes, or -1 if no match" + "Returns start index of first occurrence of pattern in bytes, or -1 if no match." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/length.rs b/crates/nu-command/src/bytes/length.rs index 1bca896f55..b90f9cea0d 100644 --- a/crates/nu-command/src/bytes/length.rs +++ b/crates/nu-command/src/bytes/length.rs @@ -27,7 +27,7 @@ impl Command for BytesLen { } fn usage(&self) -> &str { - "Output the length of any bytes in the pipeline" + "Output the length of any bytes in the pipeline." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/remove.rs b/crates/nu-command/src/bytes/remove.rs index f75905a0a9..90a3eaeaeb 100644 --- a/crates/nu-command/src/bytes/remove.rs +++ b/crates/nu-command/src/bytes/remove.rs @@ -43,7 +43,7 @@ impl Command for BytesRemove { } fn usage(&self) -> &str { - "Remove bytes" + "Remove bytes." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/replace.rs b/crates/nu-command/src/bytes/replace.rs index 12a72b170c..5b3bb8919b 100644 --- a/crates/nu-command/src/bytes/replace.rs +++ b/crates/nu-command/src/bytes/replace.rs @@ -43,7 +43,7 @@ impl Command for BytesReplace { } fn usage(&self) -> &str { - "Find and replace binary" + "Find and replace binary." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/reverse.rs b/crates/nu-command/src/bytes/reverse.rs index f905a12fb3..2c731152c0 100644 --- a/crates/nu-command/src/bytes/reverse.rs +++ b/crates/nu-command/src/bytes/reverse.rs @@ -27,7 +27,7 @@ impl Command for BytesReverse { } fn usage(&self) -> &str { - "Reverse the bytes in the pipeline" + "Reverse the bytes in the pipeline." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/bytes/starts_with.rs b/crates/nu-command/src/bytes/starts_with.rs index 0de2ce9105..23d60dae1c 100644 --- a/crates/nu-command/src/bytes/starts_with.rs +++ b/crates/nu-command/src/bytes/starts_with.rs @@ -40,7 +40,7 @@ impl Command for BytesStartsWith { } fn usage(&self) -> &str { - "Check if bytes starts with a pattern" + "Check if bytes starts with a pattern." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/fill.rs b/crates/nu-command/src/conversions/fill.rs index adaba33f69..e0e6d52a34 100644 --- a/crates/nu-command/src/conversions/fill.rs +++ b/crates/nu-command/src/conversions/fill.rs @@ -37,7 +37,7 @@ impl Command for Fill { } fn usage(&self) -> &str { - "Fill and Align" + "Fill and Align." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/conversions/fmt.rs b/crates/nu-command/src/conversions/fmt.rs index f41f9cbbb7..4ed08febc6 100644 --- a/crates/nu-command/src/conversions/fmt.rs +++ b/crates/nu-command/src/conversions/fmt.rs @@ -15,7 +15,7 @@ impl Command for Fmt { } fn usage(&self) -> &str { - "Format a number" + "Format a number." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/conversions/into/binary.rs b/crates/nu-command/src/conversions/into/binary.rs index f7c3d8f676..84afed92e0 100644 --- a/crates/nu-command/src/conversions/into/binary.rs +++ b/crates/nu-command/src/conversions/into/binary.rs @@ -36,7 +36,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to a binary primitive" + "Convert value to a binary primitive." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/bool.rs b/crates/nu-command/src/conversions/into/bool.rs index 787fc2e526..ecd06d1421 100644 --- a/crates/nu-command/src/conversions/into/bool.rs +++ b/crates/nu-command/src/conversions/into/bool.rs @@ -32,7 +32,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to boolean" + "Convert value to boolean." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/datetime.rs b/crates/nu-command/src/conversions/into/datetime.rs index 6fdaf11690..3143b9f96e 100644 --- a/crates/nu-command/src/conversions/into/datetime.rs +++ b/crates/nu-command/src/conversions/into/datetime.rs @@ -139,7 +139,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert text into a datetime" + "Convert text into a datetime." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/decimal.rs b/crates/nu-command/src/conversions/into/decimal.rs index ea78429668..1832ca1d58 100644 --- a/crates/nu-command/src/conversions/into/decimal.rs +++ b/crates/nu-command/src/conversions/into/decimal.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert text into a decimal" + "Convert text into a decimal." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/duration.rs b/crates/nu-command/src/conversions/into/duration.rs index df8b408d25..23a0013cfa 100644 --- a/crates/nu-command/src/conversions/into/duration.rs +++ b/crates/nu-command/src/conversions/into/duration.rs @@ -39,7 +39,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to duration" + "Convert value to duration." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/conversions/into/filesize.rs b/crates/nu-command/src/conversions/into/filesize.rs index 775b84e436..37e4c16c46 100644 --- a/crates/nu-command/src/conversions/into/filesize.rs +++ b/crates/nu-command/src/conversions/into/filesize.rs @@ -31,7 +31,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to filesize" + "Convert value to filesize." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/int.rs b/crates/nu-command/src/conversions/into/int.rs index b0d935bb42..c1640f7155 100644 --- a/crates/nu-command/src/conversions/into/int.rs +++ b/crates/nu-command/src/conversions/into/int.rs @@ -49,7 +49,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to integer" + "Convert value to integer." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/record.rs b/crates/nu-command/src/conversions/into/record.rs index 462042be00..d2623c7a13 100644 --- a/crates/nu-command/src/conversions/into/record.rs +++ b/crates/nu-command/src/conversions/into/record.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to record" + "Convert value to record." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/conversions/into/string.rs b/crates/nu-command/src/conversions/into/string.rs index 47bbc383ad..03e53eac7e 100644 --- a/crates/nu-command/src/conversions/into/string.rs +++ b/crates/nu-command/src/conversions/into/string.rs @@ -57,7 +57,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert value to string" + "Convert value to string." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/database/commands/into_sqlite.rs b/crates/nu-command/src/database/commands/into_sqlite.rs index 416cb36773..c9235833c4 100644 --- a/crates/nu-command/src/database/commands/into_sqlite.rs +++ b/crates/nu-command/src/database/commands/into_sqlite.rs @@ -48,7 +48,7 @@ impl Command for IntoSqliteDb { } fn usage(&self) -> &str { - "Convert table into a SQLite database" + "Convert table into a SQLite database." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/eager/append.rs b/crates/nu-command/src/dataframe/eager/append.rs index 31d772c7cc..3774751ffb 100644 --- a/crates/nu-command/src/dataframe/eager/append.rs +++ b/crates/nu-command/src/dataframe/eager/append.rs @@ -16,7 +16,7 @@ impl Command for AppendDF { } fn usage(&self) -> &str { - "Appends a new dataframe" + "Appends a new dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/columns.rs b/crates/nu-command/src/dataframe/eager/columns.rs index 53708b1e42..cdf97de7ef 100644 --- a/crates/nu-command/src/dataframe/eager/columns.rs +++ b/crates/nu-command/src/dataframe/eager/columns.rs @@ -14,7 +14,7 @@ impl Command for ColumnsDF { } fn usage(&self) -> &str { - "Show dataframe columns" + "Show dataframe columns." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/drop.rs b/crates/nu-command/src/dataframe/eager/drop.rs index 0cf23b5e56..56bbc31925 100644 --- a/crates/nu-command/src/dataframe/eager/drop.rs +++ b/crates/nu-command/src/dataframe/eager/drop.rs @@ -17,7 +17,7 @@ impl Command for DropDF { } fn usage(&self) -> &str { - "Creates a new dataframe by dropping the selected columns" + "Creates a new dataframe by dropping the selected columns." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/drop_duplicates.rs b/crates/nu-command/src/dataframe/eager/drop_duplicates.rs index d8a719da26..6a1506826c 100644 --- a/crates/nu-command/src/dataframe/eager/drop_duplicates.rs +++ b/crates/nu-command/src/dataframe/eager/drop_duplicates.rs @@ -18,7 +18,7 @@ impl Command for DropDuplicates { } fn usage(&self) -> &str { - "Drops duplicate values in dataframe" + "Drops duplicate values in dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/drop_nulls.rs b/crates/nu-command/src/dataframe/eager/drop_nulls.rs index a63a8c6d8e..0397e358d6 100644 --- a/crates/nu-command/src/dataframe/eager/drop_nulls.rs +++ b/crates/nu-command/src/dataframe/eager/drop_nulls.rs @@ -17,7 +17,7 @@ impl Command for DropNulls { } fn usage(&self) -> &str { - "Drops null values in dataframe" + "Drops null values in dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/dtypes.rs b/crates/nu-command/src/dataframe/eager/dtypes.rs index b61c59818e..a38ba440cb 100644 --- a/crates/nu-command/src/dataframe/eager/dtypes.rs +++ b/crates/nu-command/src/dataframe/eager/dtypes.rs @@ -14,7 +14,7 @@ impl Command for DataTypes { } fn usage(&self) -> &str { - "Show dataframe data types" + "Show dataframe data types." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/dummies.rs b/crates/nu-command/src/dataframe/eager/dummies.rs index 8d4794a234..a1c673a3cc 100644 --- a/crates/nu-command/src/dataframe/eager/dummies.rs +++ b/crates/nu-command/src/dataframe/eager/dummies.rs @@ -15,7 +15,7 @@ impl Command for Dummies { } fn usage(&self) -> &str { - "Creates a new dataframe with dummy variables" + "Creates a new dataframe with dummy variables." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/filter_with.rs b/crates/nu-command/src/dataframe/eager/filter_with.rs index 427f686209..733385ca52 100644 --- a/crates/nu-command/src/dataframe/eager/filter_with.rs +++ b/crates/nu-command/src/dataframe/eager/filter_with.rs @@ -19,7 +19,7 @@ impl Command for FilterWith { } fn usage(&self) -> &str { - "Filters dataframe using a mask or expression as reference" + "Filters dataframe using a mask or expression as reference." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/get.rs b/crates/nu-command/src/dataframe/eager/get.rs index 813c1f0399..74174de789 100644 --- a/crates/nu-command/src/dataframe/eager/get.rs +++ b/crates/nu-command/src/dataframe/eager/get.rs @@ -18,7 +18,7 @@ impl Command for GetDF { } fn usage(&self) -> &str { - "Creates dataframe with the selected columns" + "Creates dataframe with the selected columns." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/last.rs b/crates/nu-command/src/dataframe/eager/last.rs index cb69435699..0d7428a3c2 100644 --- a/crates/nu-command/src/dataframe/eager/last.rs +++ b/crates/nu-command/src/dataframe/eager/last.rs @@ -15,7 +15,7 @@ impl Command for LastDF { } fn usage(&self) -> &str { - "Creates new dataframe with tail rows or creates a last expression" + "Creates new dataframe with tail rows or creates a last expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/list.rs b/crates/nu-command/src/dataframe/eager/list.rs index b0567cac70..05bcdfe52a 100644 --- a/crates/nu-command/src/dataframe/eager/list.rs +++ b/crates/nu-command/src/dataframe/eager/list.rs @@ -15,7 +15,7 @@ impl Command for ListDF { } fn usage(&self) -> &str { - "Lists stored dataframes" + "Lists stored dataframes." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/melt.rs b/crates/nu-command/src/dataframe/eager/melt.rs index d82aa98141..6ecff9120b 100644 --- a/crates/nu-command/src/dataframe/eager/melt.rs +++ b/crates/nu-command/src/dataframe/eager/melt.rs @@ -19,7 +19,7 @@ impl Command for MeltDF { } fn usage(&self) -> &str { - "Unpivot a DataFrame from wide to long format" + "Unpivot a DataFrame from wide to long format." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/open.rs b/crates/nu-command/src/dataframe/eager/open.rs index 7d607ac81c..319bb3aec3 100644 --- a/crates/nu-command/src/dataframe/eager/open.rs +++ b/crates/nu-command/src/dataframe/eager/open.rs @@ -22,7 +22,7 @@ impl Command for OpenDataFrame { } fn usage(&self) -> &str { - "Opens csv, json, arrow, or parquet file to create dataframe" + "Opens csv, json, arrow, or parquet file to create dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/rename.rs b/crates/nu-command/src/dataframe/eager/rename.rs index bf914d58fd..9ea417655f 100644 --- a/crates/nu-command/src/dataframe/eager/rename.rs +++ b/crates/nu-command/src/dataframe/eager/rename.rs @@ -18,7 +18,7 @@ impl Command for RenameDF { } fn usage(&self) -> &str { - "Rename a dataframe column" + "Rename a dataframe column." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/sample.rs b/crates/nu-command/src/dataframe/eager/sample.rs index fa0bc3dae6..7bd8833bf1 100644 --- a/crates/nu-command/src/dataframe/eager/sample.rs +++ b/crates/nu-command/src/dataframe/eager/sample.rs @@ -16,7 +16,7 @@ impl Command for SampleDF { } fn usage(&self) -> &str { - "Create sample dataframe" + "Create sample dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/shape.rs b/crates/nu-command/src/dataframe/eager/shape.rs index a2462a68c3..a121bf4b7a 100644 --- a/crates/nu-command/src/dataframe/eager/shape.rs +++ b/crates/nu-command/src/dataframe/eager/shape.rs @@ -17,7 +17,7 @@ impl Command for ShapeDF { } fn usage(&self) -> &str { - "Shows column and row size for a dataframe" + "Shows column and row size for a dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/slice.rs b/crates/nu-command/src/dataframe/eager/slice.rs index 4666895d82..67b3939bf9 100644 --- a/crates/nu-command/src/dataframe/eager/slice.rs +++ b/crates/nu-command/src/dataframe/eager/slice.rs @@ -18,7 +18,7 @@ impl Command for SliceDF { } fn usage(&self) -> &str { - "Creates new dataframe from a slice of rows" + "Creates new dataframe from a slice of rows." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/take.rs b/crates/nu-command/src/dataframe/eager/take.rs index 118a39d580..114c77fe1a 100644 --- a/crates/nu-command/src/dataframe/eager/take.rs +++ b/crates/nu-command/src/dataframe/eager/take.rs @@ -19,7 +19,7 @@ impl Command for TakeDF { } fn usage(&self) -> &str { - "Creates new dataframe using the given indices" + "Creates new dataframe using the given indices." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/to_arrow.rs b/crates/nu-command/src/dataframe/eager/to_arrow.rs index eea3afa9b9..7d0dc0960b 100644 --- a/crates/nu-command/src/dataframe/eager/to_arrow.rs +++ b/crates/nu-command/src/dataframe/eager/to_arrow.rs @@ -19,7 +19,7 @@ impl Command for ToArrow { } fn usage(&self) -> &str { - "Saves dataframe to arrow file" + "Saves dataframe to arrow file." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/to_csv.rs b/crates/nu-command/src/dataframe/eager/to_csv.rs index 0c31129cdb..987d759dd8 100644 --- a/crates/nu-command/src/dataframe/eager/to_csv.rs +++ b/crates/nu-command/src/dataframe/eager/to_csv.rs @@ -19,7 +19,7 @@ impl Command for ToCSV { } fn usage(&self) -> &str { - "Saves dataframe to csv file" + "Saves dataframe to csv file." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/to_df.rs b/crates/nu-command/src/dataframe/eager/to_df.rs index ae884ed8b3..fb452968c7 100644 --- a/crates/nu-command/src/dataframe/eager/to_df.rs +++ b/crates/nu-command/src/dataframe/eager/to_df.rs @@ -15,7 +15,7 @@ impl Command for ToDataFrame { } fn usage(&self) -> &str { - "Converts a list, table or record into a dataframe" + "Converts a list, table or record into a dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/to_nu.rs b/crates/nu-command/src/dataframe/eager/to_nu.rs index f610d09edc..f0db9ef7f5 100644 --- a/crates/nu-command/src/dataframe/eager/to_nu.rs +++ b/crates/nu-command/src/dataframe/eager/to_nu.rs @@ -16,7 +16,7 @@ impl Command for ToNu { } fn usage(&self) -> &str { - "Converts a section of the dataframe into nushell Table" + "Converts a section of the dataframe into nushell Table." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/to_parquet.rs b/crates/nu-command/src/dataframe/eager/to_parquet.rs index 0434beb1d4..2f9bcb2133 100644 --- a/crates/nu-command/src/dataframe/eager/to_parquet.rs +++ b/crates/nu-command/src/dataframe/eager/to_parquet.rs @@ -19,7 +19,7 @@ impl Command for ToParquet { } fn usage(&self) -> &str { - "Saves dataframe to parquet file" + "Saves dataframe to parquet file." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/eager/with_column.rs b/crates/nu-command/src/dataframe/eager/with_column.rs index 8a648008b3..ad4ac6879b 100644 --- a/crates/nu-command/src/dataframe/eager/with_column.rs +++ b/crates/nu-command/src/dataframe/eager/with_column.rs @@ -16,7 +16,7 @@ impl Command for WithColumn { } fn usage(&self) -> &str { - "Adds a series to the dataframe" + "Adds a series to the dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/alias.rs b/crates/nu-command/src/dataframe/expressions/alias.rs index 53539a831f..d03fc4f0eb 100644 --- a/crates/nu-command/src/dataframe/expressions/alias.rs +++ b/crates/nu-command/src/dataframe/expressions/alias.rs @@ -16,7 +16,7 @@ impl Command for ExprAlias { } fn usage(&self) -> &str { - "Creates an alias expression" + "Creates an alias expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/arg_where.rs b/crates/nu-command/src/dataframe/expressions/arg_where.rs index b8c2b26bc1..aa8cb2dbe3 100644 --- a/crates/nu-command/src/dataframe/expressions/arg_where.rs +++ b/crates/nu-command/src/dataframe/expressions/arg_where.rs @@ -16,7 +16,7 @@ impl Command for ExprArgWhere { } fn usage(&self) -> &str { - "Creates an expression that returns the arguments where expression is true" + "Creates an expression that returns the arguments where expression is true." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/as_nu.rs b/crates/nu-command/src/dataframe/expressions/as_nu.rs index 31c890936e..322e6958a0 100644 --- a/crates/nu-command/src/dataframe/expressions/as_nu.rs +++ b/crates/nu-command/src/dataframe/expressions/as_nu.rs @@ -15,7 +15,7 @@ impl Command for ExprAsNu { } fn usage(&self) -> &str { - "Convert expression into a nu value for access and exploration" + "Convert expression into a nu value for access and exploration." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/col.rs b/crates/nu-command/src/dataframe/expressions/col.rs index 09f11b1e1a..76f1c30a0f 100644 --- a/crates/nu-command/src/dataframe/expressions/col.rs +++ b/crates/nu-command/src/dataframe/expressions/col.rs @@ -16,7 +16,7 @@ impl Command for ExprCol { } fn usage(&self) -> &str { - "Creates a named column expression" + "Creates a named column expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/concat_str.rs b/crates/nu-command/src/dataframe/expressions/concat_str.rs index 77d7d1948f..6a0f52c2de 100644 --- a/crates/nu-command/src/dataframe/expressions/concat_str.rs +++ b/crates/nu-command/src/dataframe/expressions/concat_str.rs @@ -16,7 +16,7 @@ impl Command for ExprConcatStr { } fn usage(&self) -> &str { - "Creates a concat string expression" + "Creates a concat string expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/is_in.rs b/crates/nu-command/src/dataframe/expressions/is_in.rs index e0e12f3028..2f1dc95122 100644 --- a/crates/nu-command/src/dataframe/expressions/is_in.rs +++ b/crates/nu-command/src/dataframe/expressions/is_in.rs @@ -16,7 +16,7 @@ impl Command for ExprIsIn { } fn usage(&self) -> &str { - "Creates an is-in expression" + "Creates an is-in expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/lit.rs b/crates/nu-command/src/dataframe/expressions/lit.rs index 688495da39..36cb76512e 100644 --- a/crates/nu-command/src/dataframe/expressions/lit.rs +++ b/crates/nu-command/src/dataframe/expressions/lit.rs @@ -15,7 +15,7 @@ impl Command for ExprLit { } fn usage(&self) -> &str { - "Creates a literal expression" + "Creates a literal expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/otherwise.rs b/crates/nu-command/src/dataframe/expressions/otherwise.rs index 91ce594880..0cad793bf9 100644 --- a/crates/nu-command/src/dataframe/expressions/otherwise.rs +++ b/crates/nu-command/src/dataframe/expressions/otherwise.rs @@ -15,7 +15,7 @@ impl Command for ExprOtherwise { } fn usage(&self) -> &str { - "completes a when expression" + "completes a when expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/quantile.rs b/crates/nu-command/src/dataframe/expressions/quantile.rs index 04dcdbf27b..f88bc2340b 100644 --- a/crates/nu-command/src/dataframe/expressions/quantile.rs +++ b/crates/nu-command/src/dataframe/expressions/quantile.rs @@ -16,7 +16,7 @@ impl Command for ExprQuantile { } fn usage(&self) -> &str { - "Aggregates the columns to the selected quantile" + "Aggregates the columns to the selected quantile." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/expressions/when.rs b/crates/nu-command/src/dataframe/expressions/when.rs index d228b63c83..b90950cf02 100644 --- a/crates/nu-command/src/dataframe/expressions/when.rs +++ b/crates/nu-command/src/dataframe/expressions/when.rs @@ -16,7 +16,7 @@ impl Command for ExprWhen { } fn usage(&self) -> &str { - "Creates and modifies a when expression" + "Creates and modifies a when expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/aggregate.rs b/crates/nu-command/src/dataframe/lazy/aggregate.rs index 0b798dfd4f..3f7c7f625c 100644 --- a/crates/nu-command/src/dataframe/lazy/aggregate.rs +++ b/crates/nu-command/src/dataframe/lazy/aggregate.rs @@ -17,7 +17,7 @@ impl Command for LazyAggregate { } fn usage(&self) -> &str { - "Performs a series of aggregations from a group-by" + "Performs a series of aggregations from a group-by." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/collect.rs b/crates/nu-command/src/dataframe/lazy/collect.rs index 3b04ca192a..208869f2cb 100644 --- a/crates/nu-command/src/dataframe/lazy/collect.rs +++ b/crates/nu-command/src/dataframe/lazy/collect.rs @@ -16,7 +16,7 @@ impl Command for LazyCollect { } fn usage(&self) -> &str { - "Collect lazy dataframe into eager dataframe" + "Collect lazy dataframe into eager dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/fetch.rs b/crates/nu-command/src/dataframe/lazy/fetch.rs index 3e014d6f13..f1c7585470 100644 --- a/crates/nu-command/src/dataframe/lazy/fetch.rs +++ b/crates/nu-command/src/dataframe/lazy/fetch.rs @@ -16,7 +16,7 @@ impl Command for LazyFetch { } fn usage(&self) -> &str { - "collects the lazyframe to the selected rows" + "collects the lazyframe to the selected rows." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/fill_nan.rs b/crates/nu-command/src/dataframe/lazy/fill_nan.rs index 1b15bafa02..82eb7dfbb4 100644 --- a/crates/nu-command/src/dataframe/lazy/fill_nan.rs +++ b/crates/nu-command/src/dataframe/lazy/fill_nan.rs @@ -15,7 +15,7 @@ impl Command for LazyFillNA { } fn usage(&self) -> &str { - "Replaces NaN values with the given expression" + "Replaces NaN values with the given expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/fill_null.rs b/crates/nu-command/src/dataframe/lazy/fill_null.rs index 1f0814fcc3..32fff5460d 100644 --- a/crates/nu-command/src/dataframe/lazy/fill_null.rs +++ b/crates/nu-command/src/dataframe/lazy/fill_null.rs @@ -15,7 +15,7 @@ impl Command for LazyFillNull { } fn usage(&self) -> &str { - "Replaces NULL values with the given expression" + "Replaces NULL values with the given expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/filter.rs b/crates/nu-command/src/dataframe/lazy/filter.rs index 0ab55f0572..b150b9d8a5 100644 --- a/crates/nu-command/src/dataframe/lazy/filter.rs +++ b/crates/nu-command/src/dataframe/lazy/filter.rs @@ -16,7 +16,7 @@ impl Command for LazyFilter { } fn usage(&self) -> &str { - "Filter dataframe based in expression" + "Filter dataframe based in expression." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/groupby.rs b/crates/nu-command/src/dataframe/lazy/groupby.rs index f735ab489a..4eaa756e4a 100644 --- a/crates/nu-command/src/dataframe/lazy/groupby.rs +++ b/crates/nu-command/src/dataframe/lazy/groupby.rs @@ -16,7 +16,7 @@ impl Command for ToLazyGroupBy { } fn usage(&self) -> &str { - "Creates a group-by object that can be used for other aggregations" + "Creates a group-by object that can be used for other aggregations." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/join.rs b/crates/nu-command/src/dataframe/lazy/join.rs index 6787e94f90..7940f492d3 100644 --- a/crates/nu-command/src/dataframe/lazy/join.rs +++ b/crates/nu-command/src/dataframe/lazy/join.rs @@ -16,7 +16,7 @@ impl Command for LazyJoin { } fn usage(&self) -> &str { - "Joins a lazy frame with other lazy frame" + "Joins a lazy frame with other lazy frame." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/quantile.rs b/crates/nu-command/src/dataframe/lazy/quantile.rs index 435045384b..055f792f4c 100644 --- a/crates/nu-command/src/dataframe/lazy/quantile.rs +++ b/crates/nu-command/src/dataframe/lazy/quantile.rs @@ -16,7 +16,7 @@ impl Command for LazyQuantile { } fn usage(&self) -> &str { - "Aggregates the columns to the selected quantile" + "Aggregates the columns to the selected quantile." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/select.rs b/crates/nu-command/src/dataframe/lazy/select.rs index 6f7e3cd680..2d67cfc2e7 100644 --- a/crates/nu-command/src/dataframe/lazy/select.rs +++ b/crates/nu-command/src/dataframe/lazy/select.rs @@ -15,7 +15,7 @@ impl Command for LazySelect { } fn usage(&self) -> &str { - "Selects columns from lazyframe" + "Selects columns from lazyframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/sort_by_expr.rs b/crates/nu-command/src/dataframe/lazy/sort_by_expr.rs index 83b492411a..0ac9fc687b 100644 --- a/crates/nu-command/src/dataframe/lazy/sort_by_expr.rs +++ b/crates/nu-command/src/dataframe/lazy/sort_by_expr.rs @@ -16,7 +16,7 @@ impl Command for LazySortBy { } fn usage(&self) -> &str { - "sorts a lazy dataframe based on expression(s)" + "sorts a lazy dataframe based on expression(s)." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/lazy/to_lazy.rs b/crates/nu-command/src/dataframe/lazy/to_lazy.rs index 61120db922..99aabc9f60 100644 --- a/crates/nu-command/src/dataframe/lazy/to_lazy.rs +++ b/crates/nu-command/src/dataframe/lazy/to_lazy.rs @@ -15,7 +15,7 @@ impl Command for ToLazyFrame { } fn usage(&self) -> &str { - "Converts a dataframe into a lazy dataframe" + "Converts a dataframe into a lazy dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/all_false.rs b/crates/nu-command/src/dataframe/series/all_false.rs index c9e1e078a6..391534245b 100644 --- a/crates/nu-command/src/dataframe/series/all_false.rs +++ b/crates/nu-command/src/dataframe/series/all_false.rs @@ -15,7 +15,7 @@ impl Command for AllFalse { } fn usage(&self) -> &str { - "Returns true if all values are false" + "Returns true if all values are false." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/all_true.rs b/crates/nu-command/src/dataframe/series/all_true.rs index ee4de02be2..ac8dbf03aa 100644 --- a/crates/nu-command/src/dataframe/series/all_true.rs +++ b/crates/nu-command/src/dataframe/series/all_true.rs @@ -15,7 +15,7 @@ impl Command for AllTrue { } fn usage(&self) -> &str { - "Returns true if all values are true" + "Returns true if all values are true." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/arg_max.rs b/crates/nu-command/src/dataframe/series/arg_max.rs index a8e4ec2011..aaec16f747 100644 --- a/crates/nu-command/src/dataframe/series/arg_max.rs +++ b/crates/nu-command/src/dataframe/series/arg_max.rs @@ -16,7 +16,7 @@ impl Command for ArgMax { } fn usage(&self) -> &str { - "Return index for max value in series" + "Return index for max value in series." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/arg_min.rs b/crates/nu-command/src/dataframe/series/arg_min.rs index 81d30f8b3e..953f7baf0e 100644 --- a/crates/nu-command/src/dataframe/series/arg_min.rs +++ b/crates/nu-command/src/dataframe/series/arg_min.rs @@ -16,7 +16,7 @@ impl Command for ArgMin { } fn usage(&self) -> &str { - "Return index for min value in series" + "Return index for min value in series." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/cumulative.rs b/crates/nu-command/src/dataframe/series/cumulative.rs index 85b2ea36e7..761da4eb7b 100644 --- a/crates/nu-command/src/dataframe/series/cumulative.rs +++ b/crates/nu-command/src/dataframe/series/cumulative.rs @@ -49,7 +49,7 @@ impl Command for Cumulative { } fn usage(&self) -> &str { - "Cumulative calculation for a series" + "Cumulative calculation for a series." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_day.rs b/crates/nu-command/src/dataframe/series/date/get_day.rs index 694ad005b3..65c21d3ea5 100644 --- a/crates/nu-command/src/dataframe/series/date/get_day.rs +++ b/crates/nu-command/src/dataframe/series/date/get_day.rs @@ -16,7 +16,7 @@ impl Command for GetDay { } fn usage(&self) -> &str { - "Gets day from date" + "Gets day from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_hour.rs b/crates/nu-command/src/dataframe/series/date/get_hour.rs index e7a9ea05fc..bca8e607da 100644 --- a/crates/nu-command/src/dataframe/series/date/get_hour.rs +++ b/crates/nu-command/src/dataframe/series/date/get_hour.rs @@ -16,7 +16,7 @@ impl Command for GetHour { } fn usage(&self) -> &str { - "Gets hour from date" + "Gets hour from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_minute.rs b/crates/nu-command/src/dataframe/series/date/get_minute.rs index db4a0d569a..d2d8bd96ea 100644 --- a/crates/nu-command/src/dataframe/series/date/get_minute.rs +++ b/crates/nu-command/src/dataframe/series/date/get_minute.rs @@ -16,7 +16,7 @@ impl Command for GetMinute { } fn usage(&self) -> &str { - "Gets minute from date" + "Gets minute from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_month.rs b/crates/nu-command/src/dataframe/series/date/get_month.rs index 7c66379bbd..244765e01f 100644 --- a/crates/nu-command/src/dataframe/series/date/get_month.rs +++ b/crates/nu-command/src/dataframe/series/date/get_month.rs @@ -16,7 +16,7 @@ impl Command for GetMonth { } fn usage(&self) -> &str { - "Gets month from date" + "Gets month from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_nanosecond.rs b/crates/nu-command/src/dataframe/series/date/get_nanosecond.rs index 83f320ddc6..ec3ed8592f 100644 --- a/crates/nu-command/src/dataframe/series/date/get_nanosecond.rs +++ b/crates/nu-command/src/dataframe/series/date/get_nanosecond.rs @@ -16,7 +16,7 @@ impl Command for GetNanosecond { } fn usage(&self) -> &str { - "Gets nanosecond from date" + "Gets nanosecond from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_ordinal.rs b/crates/nu-command/src/dataframe/series/date/get_ordinal.rs index 70bde5130d..bad2b936a8 100644 --- a/crates/nu-command/src/dataframe/series/date/get_ordinal.rs +++ b/crates/nu-command/src/dataframe/series/date/get_ordinal.rs @@ -16,7 +16,7 @@ impl Command for GetOrdinal { } fn usage(&self) -> &str { - "Gets ordinal from date" + "Gets ordinal from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_second.rs b/crates/nu-command/src/dataframe/series/date/get_second.rs index 52c5192d27..60cf11a538 100644 --- a/crates/nu-command/src/dataframe/series/date/get_second.rs +++ b/crates/nu-command/src/dataframe/series/date/get_second.rs @@ -16,7 +16,7 @@ impl Command for GetSecond { } fn usage(&self) -> &str { - "Gets second from date" + "Gets second from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_week.rs b/crates/nu-command/src/dataframe/series/date/get_week.rs index 0ff7968ef7..c269b3b043 100644 --- a/crates/nu-command/src/dataframe/series/date/get_week.rs +++ b/crates/nu-command/src/dataframe/series/date/get_week.rs @@ -16,7 +16,7 @@ impl Command for GetWeek { } fn usage(&self) -> &str { - "Gets week from date" + "Gets week from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_weekday.rs b/crates/nu-command/src/dataframe/series/date/get_weekday.rs index df1c473966..d93211b340 100644 --- a/crates/nu-command/src/dataframe/series/date/get_weekday.rs +++ b/crates/nu-command/src/dataframe/series/date/get_weekday.rs @@ -16,7 +16,7 @@ impl Command for GetWeekDay { } fn usage(&self) -> &str { - "Gets weekday from date" + "Gets weekday from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/date/get_year.rs b/crates/nu-command/src/dataframe/series/date/get_year.rs index 77d7d3bf1e..bd97bc7680 100644 --- a/crates/nu-command/src/dataframe/series/date/get_year.rs +++ b/crates/nu-command/src/dataframe/series/date/get_year.rs @@ -16,7 +16,7 @@ impl Command for GetYear { } fn usage(&self) -> &str { - "Gets year from date" + "Gets year from date." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/indexes/arg_sort.rs b/crates/nu-command/src/dataframe/series/indexes/arg_sort.rs index c1053a10e0..b42fa4b2b3 100644 --- a/crates/nu-command/src/dataframe/series/indexes/arg_sort.rs +++ b/crates/nu-command/src/dataframe/series/indexes/arg_sort.rs @@ -16,7 +16,7 @@ impl Command for ArgSort { } fn usage(&self) -> &str { - "Returns indexes for a sorted series" + "Returns indexes for a sorted series." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/indexes/arg_true.rs b/crates/nu-command/src/dataframe/series/indexes/arg_true.rs index ebed665a37..2a067c4297 100644 --- a/crates/nu-command/src/dataframe/series/indexes/arg_true.rs +++ b/crates/nu-command/src/dataframe/series/indexes/arg_true.rs @@ -16,7 +16,7 @@ impl Command for ArgTrue { } fn usage(&self) -> &str { - "Returns indexes where values are true" + "Returns indexes where values are true." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/indexes/arg_unique.rs b/crates/nu-command/src/dataframe/series/indexes/arg_unique.rs index 4f292d51b8..5824c59ecf 100644 --- a/crates/nu-command/src/dataframe/series/indexes/arg_unique.rs +++ b/crates/nu-command/src/dataframe/series/indexes/arg_unique.rs @@ -16,7 +16,7 @@ impl Command for ArgUnique { } fn usage(&self) -> &str { - "Returns indexes for unique values" + "Returns indexes for unique values." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/indexes/set_with_idx.rs b/crates/nu-command/src/dataframe/series/indexes/set_with_idx.rs index cb8db382b5..0146b6c4c3 100644 --- a/crates/nu-command/src/dataframe/series/indexes/set_with_idx.rs +++ b/crates/nu-command/src/dataframe/series/indexes/set_with_idx.rs @@ -17,7 +17,7 @@ impl Command for SetWithIndex { } fn usage(&self) -> &str { - "Sets value in the given index" + "Sets value in the given index." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/is_duplicated.rs b/crates/nu-command/src/dataframe/series/masks/is_duplicated.rs index 765d141e08..5311e63a0b 100644 --- a/crates/nu-command/src/dataframe/series/masks/is_duplicated.rs +++ b/crates/nu-command/src/dataframe/series/masks/is_duplicated.rs @@ -16,7 +16,7 @@ impl Command for IsDuplicated { } fn usage(&self) -> &str { - "Creates mask indicating duplicated values" + "Creates mask indicating duplicated values." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/is_in.rs b/crates/nu-command/src/dataframe/series/masks/is_in.rs index b88d0533e4..1edb98e59f 100644 --- a/crates/nu-command/src/dataframe/series/masks/is_in.rs +++ b/crates/nu-command/src/dataframe/series/masks/is_in.rs @@ -17,7 +17,7 @@ impl Command for IsIn { } fn usage(&self) -> &str { - "Checks if elements from a series are contained in right series" + "Checks if elements from a series are contained in right series." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/is_not_null.rs b/crates/nu-command/src/dataframe/series/masks/is_not_null.rs index f75b997a37..d58bd13d21 100644 --- a/crates/nu-command/src/dataframe/series/masks/is_not_null.rs +++ b/crates/nu-command/src/dataframe/series/masks/is_not_null.rs @@ -15,7 +15,7 @@ impl Command for IsNotNull { } fn usage(&self) -> &str { - "Creates mask where value is not null" + "Creates mask where value is not null." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/is_null.rs b/crates/nu-command/src/dataframe/series/masks/is_null.rs index 798e2d24d6..be2d653e88 100644 --- a/crates/nu-command/src/dataframe/series/masks/is_null.rs +++ b/crates/nu-command/src/dataframe/series/masks/is_null.rs @@ -15,7 +15,7 @@ impl Command for IsNull { } fn usage(&self) -> &str { - "Creates mask where value is null" + "Creates mask where value is null." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/is_unique.rs b/crates/nu-command/src/dataframe/series/masks/is_unique.rs index 3f13f8b394..84ca8b737a 100644 --- a/crates/nu-command/src/dataframe/series/masks/is_unique.rs +++ b/crates/nu-command/src/dataframe/series/masks/is_unique.rs @@ -16,7 +16,7 @@ impl Command for IsUnique { } fn usage(&self) -> &str { - "Creates mask indicating unique values" + "Creates mask indicating unique values." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/not.rs b/crates/nu-command/src/dataframe/series/masks/not.rs index 46435e5dc9..990c7935dc 100644 --- a/crates/nu-command/src/dataframe/series/masks/not.rs +++ b/crates/nu-command/src/dataframe/series/masks/not.rs @@ -17,7 +17,7 @@ impl Command for NotSeries { } fn usage(&self) -> &str { - "Inverts boolean mask" + "Inverts boolean mask." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/masks/set.rs b/crates/nu-command/src/dataframe/series/masks/set.rs index ef467971d5..87fe242930 100644 --- a/crates/nu-command/src/dataframe/series/masks/set.rs +++ b/crates/nu-command/src/dataframe/series/masks/set.rs @@ -17,7 +17,7 @@ impl Command for SetSeries { } fn usage(&self) -> &str { - "Sets value where given mask is true" + "Sets value where given mask is true." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/n_null.rs b/crates/nu-command/src/dataframe/series/n_null.rs index d604bfd3fd..bd9b2c8cd8 100644 --- a/crates/nu-command/src/dataframe/series/n_null.rs +++ b/crates/nu-command/src/dataframe/series/n_null.rs @@ -15,7 +15,7 @@ impl Command for NNull { } fn usage(&self) -> &str { - "Counts null values" + "Counts null values." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/n_unique.rs b/crates/nu-command/src/dataframe/series/n_unique.rs index 1b9f2157dc..b80dac305a 100644 --- a/crates/nu-command/src/dataframe/series/n_unique.rs +++ b/crates/nu-command/src/dataframe/series/n_unique.rs @@ -14,7 +14,7 @@ impl Command for NUnique { } fn usage(&self) -> &str { - "Counts unique values" + "Counts unique values." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/rolling.rs b/crates/nu-command/src/dataframe/series/rolling.rs index f9c83336f2..d6fc5c5554 100644 --- a/crates/nu-command/src/dataframe/series/rolling.rs +++ b/crates/nu-command/src/dataframe/series/rolling.rs @@ -52,7 +52,7 @@ impl Command for Rolling { } fn usage(&self) -> &str { - "Rolling calculation for a series" + "Rolling calculation for a series." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/shift.rs b/crates/nu-command/src/dataframe/series/shift.rs index 82741d375b..e04d607f9a 100644 --- a/crates/nu-command/src/dataframe/series/shift.rs +++ b/crates/nu-command/src/dataframe/series/shift.rs @@ -18,7 +18,7 @@ impl Command for Shift { } fn usage(&self) -> &str { - "Shifts the values by a given period" + "Shifts the values by a given period." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/concatenate.rs b/crates/nu-command/src/dataframe/series/string/concatenate.rs index 9b7c3ecd3c..4e12f867df 100644 --- a/crates/nu-command/src/dataframe/series/string/concatenate.rs +++ b/crates/nu-command/src/dataframe/series/string/concatenate.rs @@ -17,7 +17,7 @@ impl Command for Concatenate { } fn usage(&self) -> &str { - "Concatenates strings with other array" + "Concatenates strings with other array." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/contains.rs b/crates/nu-command/src/dataframe/series/string/contains.rs index 569c8d7170..772a9f13ff 100644 --- a/crates/nu-command/src/dataframe/series/string/contains.rs +++ b/crates/nu-command/src/dataframe/series/string/contains.rs @@ -17,7 +17,7 @@ impl Command for Contains { } fn usage(&self) -> &str { - "Checks if a pattern is contained in a string" + "Checks if a pattern is contained in a string." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/replace.rs b/crates/nu-command/src/dataframe/series/string/replace.rs index 152cd8d01b..0a68761237 100644 --- a/crates/nu-command/src/dataframe/series/string/replace.rs +++ b/crates/nu-command/src/dataframe/series/string/replace.rs @@ -17,7 +17,7 @@ impl Command for Replace { } fn usage(&self) -> &str { - "Replace the leftmost (sub)string by a regex pattern" + "Replace the leftmost (sub)string by a regex pattern." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/replace_all.rs b/crates/nu-command/src/dataframe/series/string/replace_all.rs index 4bcaf54542..9e1125568c 100644 --- a/crates/nu-command/src/dataframe/series/string/replace_all.rs +++ b/crates/nu-command/src/dataframe/series/string/replace_all.rs @@ -17,7 +17,7 @@ impl Command for ReplaceAll { } fn usage(&self) -> &str { - "Replace all (sub)strings by a regex pattern" + "Replace all (sub)strings by a regex pattern." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/str_lengths.rs b/crates/nu-command/src/dataframe/series/string/str_lengths.rs index 2f2c65fee4..b90c48f3bb 100644 --- a/crates/nu-command/src/dataframe/series/string/str_lengths.rs +++ b/crates/nu-command/src/dataframe/series/string/str_lengths.rs @@ -16,7 +16,7 @@ impl Command for StrLengths { } fn usage(&self) -> &str { - "Get lengths of all strings" + "Get lengths of all strings." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/str_slice.rs b/crates/nu-command/src/dataframe/series/string/str_slice.rs index 272b861469..8bfca0eed8 100644 --- a/crates/nu-command/src/dataframe/series/string/str_slice.rs +++ b/crates/nu-command/src/dataframe/series/string/str_slice.rs @@ -17,7 +17,7 @@ impl Command for StrSlice { } fn usage(&self) -> &str { - "Slices the string from the start position until the selected length" + "Slices the string from the start position until the selected length." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/strftime.rs b/crates/nu-command/src/dataframe/series/string/strftime.rs index ba4eb3a0bf..bf40cf727f 100644 --- a/crates/nu-command/src/dataframe/series/string/strftime.rs +++ b/crates/nu-command/src/dataframe/series/string/strftime.rs @@ -17,7 +17,7 @@ impl Command for StrFTime { } fn usage(&self) -> &str { - "Formats date based on string rule" + "Formats date based on string rule." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/to_lowercase.rs b/crates/nu-command/src/dataframe/series/string/to_lowercase.rs index e6a6fe324f..26d0931c0d 100644 --- a/crates/nu-command/src/dataframe/series/string/to_lowercase.rs +++ b/crates/nu-command/src/dataframe/series/string/to_lowercase.rs @@ -16,7 +16,7 @@ impl Command for ToLowerCase { } fn usage(&self) -> &str { - "Lowercase the strings in the column" + "Lowercase the strings in the column." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/string/to_uppercase.rs b/crates/nu-command/src/dataframe/series/string/to_uppercase.rs index 4375ca9869..13c7702f84 100644 --- a/crates/nu-command/src/dataframe/series/string/to_uppercase.rs +++ b/crates/nu-command/src/dataframe/series/string/to_uppercase.rs @@ -16,7 +16,7 @@ impl Command for ToUpperCase { } fn usage(&self) -> &str { - "Uppercase the strings in the column" + "Uppercase the strings in the column." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/dataframe/series/unique.rs b/crates/nu-command/src/dataframe/series/unique.rs index 1f8f48af1e..b6794d9ab8 100644 --- a/crates/nu-command/src/dataframe/series/unique.rs +++ b/crates/nu-command/src/dataframe/series/unique.rs @@ -19,7 +19,7 @@ impl Command for Unique { } fn usage(&self) -> &str { - "Returns unique values from a dataframe" + "Returns unique values from a dataframe." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/dataframe/series/value_counts.rs b/crates/nu-command/src/dataframe/series/value_counts.rs index f4c7eca995..6fcbe522b8 100644 --- a/crates/nu-command/src/dataframe/series/value_counts.rs +++ b/crates/nu-command/src/dataframe/series/value_counts.rs @@ -17,7 +17,7 @@ impl Command for ValueCount { } fn usage(&self) -> &str { - "Returns a dataframe with the counts for unique values in series" + "Returns a dataframe with the counts for unique values in series." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/date/date_.rs b/crates/nu-command/src/date/date_.rs index eb7bbebd95..b875ac24e2 100644 --- a/crates/nu-command/src/date/date_.rs +++ b/crates/nu-command/src/date/date_.rs @@ -20,7 +20,7 @@ impl Command for Date { } fn usage(&self) -> &str { - "Date-related commands" + "Date-related commands." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/debug/inspect.rs b/crates/nu-command/src/debug/inspect.rs index d9ce0585f7..bb7edcaf50 100644 --- a/crates/nu-command/src/debug/inspect.rs +++ b/crates/nu-command/src/debug/inspect.rs @@ -15,7 +15,7 @@ impl Command for Inspect { } fn usage(&self) -> &str { - "Inspect pipeline results while running a pipeline" + "Inspect pipeline results while running a pipeline." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/debug/metadata.rs b/crates/nu-command/src/debug/metadata.rs index 9799c01179..d4c8ff8567 100644 --- a/crates/nu-command/src/debug/metadata.rs +++ b/crates/nu-command/src/debug/metadata.rs @@ -15,7 +15,7 @@ impl Command for Metadata { } fn usage(&self) -> &str { - "Get the metadata for items in the stream" + "Get the metadata for items in the stream." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/debug/timeit.rs b/crates/nu-command/src/debug/timeit.rs index d9e003693a..1430b2e635 100644 --- a/crates/nu-command/src/debug/timeit.rs +++ b/crates/nu-command/src/debug/timeit.rs @@ -16,7 +16,7 @@ impl Command for TimeIt { } fn usage(&self) -> &str { - "Time the running time of a closure" + "Time the running time of a closure." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/debug/view.rs b/crates/nu-command/src/debug/view.rs index 387cf54822..b92ec5d6d2 100644 --- a/crates/nu-command/src/debug/view.rs +++ b/crates/nu-command/src/debug/view.rs @@ -20,7 +20,7 @@ impl Command for View { } fn usage(&self) -> &str { - "Various commands for viewing debug information" + "Various commands for viewing debug information." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/debug/view_files.rs b/crates/nu-command/src/debug/view_files.rs index 5ccd2a4d5d..9fb18a6663 100644 --- a/crates/nu-command/src/debug/view_files.rs +++ b/crates/nu-command/src/debug/view_files.rs @@ -13,7 +13,7 @@ impl Command for ViewFiles { } fn usage(&self) -> &str { - "View the files registered in nushell's EngineState memory" + "View the files registered in nushell's EngineState memory." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/debug/view_source.rs b/crates/nu-command/src/debug/view_source.rs index b4e63d2582..d9684c107d 100644 --- a/crates/nu-command/src/debug/view_source.rs +++ b/crates/nu-command/src/debug/view_source.rs @@ -16,7 +16,7 @@ impl Command for ViewSource { } fn usage(&self) -> &str { - "View a block, module, or a definition" + "View a block, module, or a definition." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/debug/view_span.rs b/crates/nu-command/src/debug/view_span.rs index 0423a90a6f..e0bc602de4 100644 --- a/crates/nu-command/src/debug/view_span.rs +++ b/crates/nu-command/src/debug/view_span.rs @@ -15,7 +15,7 @@ impl Command for ViewSpan { } fn usage(&self) -> &str { - "View the contents of a span" + "View the contents of a span." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/deprecated/export_old_alias.rs b/crates/nu-command/src/deprecated/export_old_alias.rs index 76bd70f2e3..dc630d090d 100644 --- a/crates/nu-command/src/deprecated/export_old_alias.rs +++ b/crates/nu-command/src/deprecated/export_old_alias.rs @@ -11,7 +11,7 @@ impl Command for ExportOldAlias { } fn usage(&self) -> &str { - "Define an alias and export it from a module" + "Define an alias and export it from a module." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/deprecated/hash_base64.rs b/crates/nu-command/src/deprecated/hash_base64.rs index 3896e8ea18..1d5b23f934 100644 --- a/crates/nu-command/src/deprecated/hash_base64.rs +++ b/crates/nu-command/src/deprecated/hash_base64.rs @@ -15,7 +15,7 @@ impl Command for HashBase64 { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/lpad.rs b/crates/nu-command/src/deprecated/lpad.rs index b2d5f8a0e4..fcc401f8ad 100644 --- a/crates/nu-command/src/deprecated/lpad.rs +++ b/crates/nu-command/src/deprecated/lpad.rs @@ -16,7 +16,7 @@ impl Command for LPadDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/math_eval.rs b/crates/nu-command/src/deprecated/math_eval.rs index e62567c6ec..2264a99c21 100644 --- a/crates/nu-command/src/deprecated/math_eval.rs +++ b/crates/nu-command/src/deprecated/math_eval.rs @@ -21,7 +21,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/old_alias.rs b/crates/nu-command/src/deprecated/old_alias.rs index 6848645f53..0077e61ff3 100644 --- a/crates/nu-command/src/deprecated/old_alias.rs +++ b/crates/nu-command/src/deprecated/old_alias.rs @@ -13,7 +13,7 @@ impl Command for OldAlias { } fn usage(&self) -> &str { - "Alias a command (with optional flags) to a new name" + "Alias a command (with optional flags) to a new name." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/deprecated/rpad.rs b/crates/nu-command/src/deprecated/rpad.rs index 957b51d990..890b358ffc 100644 --- a/crates/nu-command/src/deprecated/rpad.rs +++ b/crates/nu-command/src/deprecated/rpad.rs @@ -16,7 +16,7 @@ impl Command for RPadDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/str_datetime.rs b/crates/nu-command/src/deprecated/str_datetime.rs index 45cfb85f83..33bca9fc92 100644 --- a/crates/nu-command/src/deprecated/str_datetime.rs +++ b/crates/nu-command/src/deprecated/str_datetime.rs @@ -17,7 +17,7 @@ impl Command for StrDatetimeDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/str_decimal.rs b/crates/nu-command/src/deprecated/str_decimal.rs index e1be327166..9163b86bd4 100644 --- a/crates/nu-command/src/deprecated/str_decimal.rs +++ b/crates/nu-command/src/deprecated/str_decimal.rs @@ -17,7 +17,7 @@ impl Command for StrDecimalDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/str_find_replace.rs b/crates/nu-command/src/deprecated/str_find_replace.rs index c86bc065e9..093b56668c 100644 --- a/crates/nu-command/src/deprecated/str_find_replace.rs +++ b/crates/nu-command/src/deprecated/str_find_replace.rs @@ -17,7 +17,7 @@ impl Command for StrFindReplaceDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/deprecated/str_int.rs b/crates/nu-command/src/deprecated/str_int.rs index 853fa48652..be609778fb 100644 --- a/crates/nu-command/src/deprecated/str_int.rs +++ b/crates/nu-command/src/deprecated/str_int.rs @@ -17,7 +17,7 @@ impl Command for StrIntDeprecated { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/env/config/config_.rs b/crates/nu-command/src/env/config/config_.rs index e9ea554f0d..18ae5c6c2e 100644 --- a/crates/nu-command/src/env/config/config_.rs +++ b/crates/nu-command/src/env/config/config_.rs @@ -20,7 +20,7 @@ impl Command for ConfigMeta { } fn usage(&self) -> &str { - "Edit nushell configuration files" + "Edit nushell configuration files." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/env/config/config_env.rs b/crates/nu-command/src/env/config/config_env.rs index aedf2e7b0b..51e6e86246 100644 --- a/crates/nu-command/src/env/config/config_env.rs +++ b/crates/nu-command/src/env/config/config_env.rs @@ -23,7 +23,7 @@ impl Command for ConfigEnv { } fn usage(&self) -> &str { - "Edit nu environment configurations" + "Edit nu environment configurations." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/env/config/config_nu.rs b/crates/nu-command/src/env/config/config_nu.rs index 62e70c3755..122aeaae24 100644 --- a/crates/nu-command/src/env/config/config_nu.rs +++ b/crates/nu-command/src/env/config/config_nu.rs @@ -23,7 +23,7 @@ impl Command for ConfigNu { } fn usage(&self) -> &str { - "Edit nu configurations" + "Edit nu configurations." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/env/config/config_reset.rs b/crates/nu-command/src/env/config/config_reset.rs index f8b9e925fc..76a0ea8e51 100644 --- a/crates/nu-command/src/env/config/config_reset.rs +++ b/crates/nu-command/src/env/config/config_reset.rs @@ -26,7 +26,7 @@ impl Command for ConfigReset { } fn usage(&self) -> &str { - "Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu" + "Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/env/env_command.rs b/crates/nu-command/src/env/env_command.rs index a2c1e26c44..5235e3b3ca 100644 --- a/crates/nu-command/src/env/env_command.rs +++ b/crates/nu-command/src/env/env_command.rs @@ -14,7 +14,7 @@ impl Command for Env { } fn usage(&self) -> &str { - "Display current environment variables" + "Display current environment variables." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/experimental/is_admin.rs b/crates/nu-command/src/experimental/is_admin.rs index 15b0d1f0f8..e9c4047300 100644 --- a/crates/nu-command/src/experimental/is_admin.rs +++ b/crates/nu-command/src/experimental/is_admin.rs @@ -14,7 +14,7 @@ impl Command for IsAdmin { } fn usage(&self) -> &str { - "Check if nushell is running with administrator or root privileges" + "Check if nushell is running with administrator or root privileges." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/filters/lines.rs b/crates/nu-command/src/filters/lines.rs index 302d9fc268..d5c7cad699 100644 --- a/crates/nu-command/src/filters/lines.rs +++ b/crates/nu-command/src/filters/lines.rs @@ -18,7 +18,7 @@ impl Command for Lines { } fn usage(&self) -> &str { - "Converts input to lines" + "Converts input to lines." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/filters/move_.rs b/crates/nu-command/src/filters/move_.rs index 9d436e1cc1..73fa91dcdb 100644 --- a/crates/nu-command/src/filters/move_.rs +++ b/crates/nu-command/src/filters/move_.rs @@ -21,7 +21,7 @@ impl Command for Move { } fn usage(&self) -> &str { - "Move columns before or after other columns" + "Move columns before or after other columns." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/filters/roll/roll_.rs b/crates/nu-command/src/filters/roll/roll_.rs index 093b5d6711..b3e8cd0f4d 100644 --- a/crates/nu-command/src/filters/roll/roll_.rs +++ b/crates/nu-command/src/filters/roll/roll_.rs @@ -22,7 +22,7 @@ impl Command for Roll { } fn usage(&self) -> &str { - "Rolling commands for tables" + "Rolling commands for tables." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/filters/roll/roll_down.rs b/crates/nu-command/src/filters/roll/roll_down.rs index ede1901993..feb6ecb136 100644 --- a/crates/nu-command/src/filters/roll/roll_down.rs +++ b/crates/nu-command/src/filters/roll/roll_down.rs @@ -29,7 +29,7 @@ impl Command for RollDown { } fn usage(&self) -> &str { - "Roll table rows down" + "Roll table rows down." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/filters/roll/roll_left.rs b/crates/nu-command/src/filters/roll/roll_left.rs index 33c35b7f47..c562825ced 100644 --- a/crates/nu-command/src/filters/roll/roll_left.rs +++ b/crates/nu-command/src/filters/roll/roll_left.rs @@ -41,7 +41,7 @@ impl Command for RollLeft { } fn usage(&self) -> &str { - "Roll record or table columns left" + "Roll record or table columns left." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/filters/roll/roll_right.rs b/crates/nu-command/src/filters/roll/roll_right.rs index ff9d1d308a..9286c34ed1 100644 --- a/crates/nu-command/src/filters/roll/roll_right.rs +++ b/crates/nu-command/src/filters/roll/roll_right.rs @@ -41,7 +41,7 @@ impl Command for RollRight { } fn usage(&self) -> &str { - "Roll table columns right" + "Roll table columns right." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/filters/roll/roll_up.rs b/crates/nu-command/src/filters/roll/roll_up.rs index 70ddf60b90..67243cb70b 100644 --- a/crates/nu-command/src/filters/roll/roll_up.rs +++ b/crates/nu-command/src/filters/roll/roll_up.rs @@ -29,7 +29,7 @@ impl Command for RollUp { } fn usage(&self) -> &str { - "Roll table rows up" + "Roll table rows up." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/filters/zip.rs b/crates/nu-command/src/filters/zip.rs index e21feaeaa0..b90a187dee 100644 --- a/crates/nu-command/src/filters/zip.rs +++ b/crates/nu-command/src/filters/zip.rs @@ -15,7 +15,7 @@ impl Command for Zip { } fn usage(&self) -> &str { - "Combine a stream with the input" + "Combine a stream with the input." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/formats/from/command.rs b/crates/nu-command/src/formats/from/command.rs index ee02bd7cfd..84a4718d17 100644 --- a/crates/nu-command/src/formats/from/command.rs +++ b/crates/nu-command/src/formats/from/command.rs @@ -12,7 +12,7 @@ impl Command for From { } fn usage(&self) -> &str { - "Parse a string or binary data into structured data" + "Parse a string or binary data into structured data." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/formats/from/json.rs b/crates/nu-command/src/formats/from/json.rs index d068b6fb9b..9e3392e741 100644 --- a/crates/nu-command/src/formats/from/json.rs +++ b/crates/nu-command/src/formats/from/json.rs @@ -14,7 +14,7 @@ impl Command for FromJson { } fn usage(&self) -> &str { - "Convert from json to structured data" + "Convert from json to structured data." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/formats/from/nuon.rs b/crates/nu-command/src/formats/from/nuon.rs index 40912ffa7f..91a3128c5c 100644 --- a/crates/nu-command/src/formats/from/nuon.rs +++ b/crates/nu-command/src/formats/from/nuon.rs @@ -13,7 +13,7 @@ impl Command for FromNuon { } fn usage(&self) -> &str { - "Convert from nuon to structured data" + "Convert from nuon to structured data." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/formats/to/command.rs b/crates/nu-command/src/formats/to/command.rs index 9b942cd01d..a4f21fde95 100644 --- a/crates/nu-command/src/formats/to/command.rs +++ b/crates/nu-command/src/formats/to/command.rs @@ -12,7 +12,7 @@ impl Command for To { } fn usage(&self) -> &str { - "Translate structured data to a format" + "Translate structured data to a format." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/formats/to/csv.rs b/crates/nu-command/src/formats/to/csv.rs index 08659b658d..64d27f3664 100644 --- a/crates/nu-command/src/formats/to/csv.rs +++ b/crates/nu-command/src/formats/to/csv.rs @@ -56,7 +56,7 @@ impl Command for ToCsv { } fn usage(&self) -> &str { - "Convert table into .csv text " + "Convert table into .csv text ." } fn run( diff --git a/crates/nu-command/src/formats/to/html.rs b/crates/nu-command/src/formats/to/html.rs index 1a8371b094..1f129e949a 100644 --- a/crates/nu-command/src/formats/to/html.rs +++ b/crates/nu-command/src/formats/to/html.rs @@ -144,11 +144,11 @@ impl Command for ToHtml { } fn usage(&self) -> &str { - "Convert table into simple HTML" + "Convert table into simple HTML." } fn extra_usage(&self) -> &str { - "Screenshots of the themes can be browsed here: https://github.com/mbadolato/iTerm2-Color-Schemes" + "Screenshots of the themes can be browsed here: https://github.com/mbadolato/iTerm2-Color-Schemes." } fn run( diff --git a/crates/nu-command/src/formats/to/md.rs b/crates/nu-command/src/formats/to/md.rs index 90d187e917..50ddeaf674 100644 --- a/crates/nu-command/src/formats/to/md.rs +++ b/crates/nu-command/src/formats/to/md.rs @@ -32,7 +32,7 @@ impl Command for ToMd { } fn usage(&self) -> &str { - "Convert table into simple Markdown" + "Convert table into simple Markdown." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/formats/to/toml.rs b/crates/nu-command/src/formats/to/toml.rs index f3e2236fac..ec47f20167 100644 --- a/crates/nu-command/src/formats/to/toml.rs +++ b/crates/nu-command/src/formats/to/toml.rs @@ -19,7 +19,7 @@ impl Command for ToToml { } fn usage(&self) -> &str { - "Convert record into .toml text" + "Convert record into .toml text." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/formats/to/tsv.rs b/crates/nu-command/src/formats/to/tsv.rs index edcb2ab7fc..a424458a80 100644 --- a/crates/nu-command/src/formats/to/tsv.rs +++ b/crates/nu-command/src/formats/to/tsv.rs @@ -28,7 +28,7 @@ impl Command for ToTsv { } fn usage(&self) -> &str { - "Convert table into .tsv text" + "Convert table into .tsv text." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/formats/to/xml.rs b/crates/nu-command/src/formats/to/xml.rs index 7b9669a53b..9444f4500b 100644 --- a/crates/nu-command/src/formats/to/xml.rs +++ b/crates/nu-command/src/formats/to/xml.rs @@ -51,7 +51,7 @@ impl Command for ToXml { } fn usage(&self) -> &str { - "Convert table into .xml text" + "Convert table into .xml text." } fn run( diff --git a/crates/nu-command/src/formats/to/yaml.rs b/crates/nu-command/src/formats/to/yaml.rs index b83dadf8ae..ec2e8fbe2a 100644 --- a/crates/nu-command/src/formats/to/yaml.rs +++ b/crates/nu-command/src/formats/to/yaml.rs @@ -19,7 +19,7 @@ impl Command for ToYaml { } fn usage(&self) -> &str { - "Convert table into .yaml/.yml text" + "Convert table into .yaml/.yml text." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/generators/seq_char.rs b/crates/nu-command/src/generators/seq_char.rs index 1f33af3de4..8529008f2c 100644 --- a/crates/nu-command/src/generators/seq_char.rs +++ b/crates/nu-command/src/generators/seq_char.rs @@ -14,7 +14,7 @@ impl Command for SeqChar { } fn usage(&self) -> &str { - "Print a sequence of ASCII characters" + "Print a sequence of ASCII characters." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/generators/seq_date.rs b/crates/nu-command/src/generators/seq_date.rs index 7bbb319ba0..882edbde1e 100644 --- a/crates/nu-command/src/generators/seq_date.rs +++ b/crates/nu-command/src/generators/seq_date.rs @@ -17,7 +17,7 @@ impl Command for SeqDate { } fn usage(&self) -> &str { - "Print sequences of dates" + "Print sequences of dates." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/math/abs.rs b/crates/nu-command/src/math/abs.rs index 64dd860b62..abec41ea08 100644 --- a/crates/nu-command/src/math/abs.rs +++ b/crates/nu-command/src/math/abs.rs @@ -18,7 +18,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the absolute value of a number" + "Returns the absolute value of a number." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/avg.rs b/crates/nu-command/src/math/avg.rs index 8c38cdda8e..95cce92306 100644 --- a/crates/nu-command/src/math/avg.rs +++ b/crates/nu-command/src/math/avg.rs @@ -19,7 +19,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the average of a list of numbers" + "Returns the average of a list of numbers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/ceil.rs b/crates/nu-command/src/math/ceil.rs index a6f8b96544..098e7eb8a8 100644 --- a/crates/nu-command/src/math/ceil.rs +++ b/crates/nu-command/src/math/ceil.rs @@ -18,7 +18,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the ceil of a number (smallest integer greater than or equal to that number)" + "Returns the ceil of a number (smallest integer greater than or equal to that number)." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/floor.rs b/crates/nu-command/src/math/floor.rs index 8c456983f0..8bc9e7d776 100644 --- a/crates/nu-command/src/math/floor.rs +++ b/crates/nu-command/src/math/floor.rs @@ -18,7 +18,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the floor of a number (largest integer less than or equal to that number)" + "Returns the floor of a number (largest integer less than or equal to that number)." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/ln.rs b/crates/nu-command/src/math/ln.rs index 3f154c1445..15556cb316 100644 --- a/crates/nu-command/src/math/ln.rs +++ b/crates/nu-command/src/math/ln.rs @@ -18,7 +18,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the natural logarithm. Base: (math e)" + "Returns the natural logarithm. Base: (math e)." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/max.rs b/crates/nu-command/src/math/max.rs index 956d82719d..1d6e183583 100644 --- a/crates/nu-command/src/math/max.rs +++ b/crates/nu-command/src/math/max.rs @@ -22,7 +22,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the maximum of a list of numbers, or of columns in a table" + "Returns the maximum of a list of numbers, or of columns in a table." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/median.rs b/crates/nu-command/src/math/median.rs index d79d335924..b0f6a2df0e 100644 --- a/crates/nu-command/src/math/median.rs +++ b/crates/nu-command/src/math/median.rs @@ -24,7 +24,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Computes the median of a list of numbers" + "Computes the median of a list of numbers." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/min.rs b/crates/nu-command/src/math/min.rs index e63e0b607e..bfe10c6b31 100644 --- a/crates/nu-command/src/math/min.rs +++ b/crates/nu-command/src/math/min.rs @@ -22,7 +22,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Finds the minimum within a list of numbers or tables" + "Finds the minimum within a list of numbers or tables." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/mode.rs b/crates/nu-command/src/math/mode.rs index 7647d9f17a..9e0c787d5e 100644 --- a/crates/nu-command/src/math/mode.rs +++ b/crates/nu-command/src/math/mode.rs @@ -48,7 +48,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the most frequent element(s) from a list of numbers or tables" + "Returns the most frequent element(s) from a list of numbers or tables." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/product.rs b/crates/nu-command/src/math/product.rs index 4d46acbecb..f64cf3648e 100644 --- a/crates/nu-command/src/math/product.rs +++ b/crates/nu-command/src/math/product.rs @@ -19,7 +19,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the product of a list of numbers or the products of each column of a table" + "Returns the product of a list of numbers or the products of each column of a table." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/round.rs b/crates/nu-command/src/math/round.rs index 80b18b6456..7ee836123c 100644 --- a/crates/nu-command/src/math/round.rs +++ b/crates/nu-command/src/math/round.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the input number rounded to the specified precision" + "Returns the input number rounded to the specified precision." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/sqrt.rs b/crates/nu-command/src/math/sqrt.rs index 489f45162f..b0427d7a70 100644 --- a/crates/nu-command/src/math/sqrt.rs +++ b/crates/nu-command/src/math/sqrt.rs @@ -18,7 +18,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the square root of the input number" + "Returns the square root of the input number." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/stddev.rs b/crates/nu-command/src/math/stddev.rs index 99e211ab79..5f085ddc4f 100644 --- a/crates/nu-command/src/math/stddev.rs +++ b/crates/nu-command/src/math/stddev.rs @@ -24,7 +24,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the standard deviation of a list of numbers, or of each column in a table" + "Returns the standard deviation of a list of numbers, or of each column in a table." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/sum.rs b/crates/nu-command/src/math/sum.rs index 8e22eb14da..60d91a543f 100644 --- a/crates/nu-command/src/math/sum.rs +++ b/crates/nu-command/src/math/sum.rs @@ -19,7 +19,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the sum of a list of numbers or of each column in a table" + "Returns the sum of a list of numbers or of each column in a table." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/math/variance.rs b/crates/nu-command/src/math/variance.rs index 64291f0d44..062ca36370 100644 --- a/crates/nu-command/src/math/variance.rs +++ b/crates/nu-command/src/math/variance.rs @@ -23,7 +23,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns the variance of a list of numbers or of each column in a table" + "Returns the variance of a list of numbers or of each column in a table." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/misc/history.rs b/crates/nu-command/src/misc/history.rs index cc2a06bca2..dbcba501c5 100644 --- a/crates/nu-command/src/misc/history.rs +++ b/crates/nu-command/src/misc/history.rs @@ -18,7 +18,7 @@ impl Command for History { } fn usage(&self) -> &str { - "Get the command history" + "Get the command history." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/misc/history_session.rs b/crates/nu-command/src/misc/history_session.rs index fe4d372d29..5d08b4e7e2 100644 --- a/crates/nu-command/src/misc/history_session.rs +++ b/crates/nu-command/src/misc/history_session.rs @@ -13,7 +13,7 @@ impl Command for HistorySession { } fn usage(&self) -> &str { - "Get the command history session" + "Get the command history session." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/misc/tutor.rs b/crates/nu-command/src/misc/tutor.rs index 78ffad38e3..815537a628 100644 --- a/crates/nu-command/src/misc/tutor.rs +++ b/crates/nu-command/src/misc/tutor.rs @@ -34,7 +34,7 @@ impl Command for Tutor { } fn usage(&self) -> &str { - "Run the tutorial. To begin, run: tutor" + "Run the tutorial. To begin, run: tutor." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/network/http/http_.rs b/crates/nu-command/src/network/http/http_.rs index 91e8129761..81493437fa 100644 --- a/crates/nu-command/src/network/http/http_.rs +++ b/crates/nu-command/src/network/http/http_.rs @@ -20,7 +20,7 @@ impl Command for Http { } fn usage(&self) -> &str { - "Various commands for working with http methods" + "Various commands for working with http methods." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/network/port.rs b/crates/nu-command/src/network/port.rs index 02fd1fb08f..79db5bd9c2 100644 --- a/crates/nu-command/src/network/port.rs +++ b/crates/nu-command/src/network/port.rs @@ -29,7 +29,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Get a free port from system" + "Get a free port from system." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/network/url/encode.rs b/crates/nu-command/src/network/url/encode.rs index 21448e0340..0ae9513d1e 100644 --- a/crates/nu-command/src/network/url/encode.rs +++ b/crates/nu-command/src/network/url/encode.rs @@ -20,7 +20,7 @@ impl Command for SubCommand { .input_output_types(vec![(Type::String, Type::String)]) .vectorizes_over_list(true) .switch( - "all", + "all", "encode all non-alphanumeric chars including `/`, `.`, `:`", Some('a')) .rest( @@ -32,7 +32,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Converts a string to a percent encoded web safe string" + "Converts a string to a percent encoded web safe string." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/network/url/join.rs b/crates/nu-command/src/network/url/join.rs index f08e7c64e5..14afc556d7 100644 --- a/crates/nu-command/src/network/url/join.rs +++ b/crates/nu-command/src/network/url/join.rs @@ -19,7 +19,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Converts a record to url" + "Converts a record to url." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/network/url/parse.rs b/crates/nu-command/src/network/url/parse.rs index d1820dba24..1676a6c6b1 100644 --- a/crates/nu-command/src/network/url/parse.rs +++ b/crates/nu-command/src/network/url/parse.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Parses a url" + "Parses a url." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/network/url/url_.rs b/crates/nu-command/src/network/url/url_.rs index 0aa177b986..cc94b07460 100644 --- a/crates/nu-command/src/network/url/url_.rs +++ b/crates/nu-command/src/network/url/url_.rs @@ -20,7 +20,7 @@ impl Command for Url { } fn usage(&self) -> &str { - "Various commands for working with URLs" + "Various commands for working with URLs." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/path/basename.rs b/crates/nu-command/src/path/basename.rs index 47ee054c07..f60feb9882 100644 --- a/crates/nu-command/src/path/basename.rs +++ b/crates/nu-command/src/path/basename.rs @@ -51,7 +51,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Get the final component of a path" + "Get the final component of a path." } fn run( diff --git a/crates/nu-command/src/path/dirname.rs b/crates/nu-command/src/path/dirname.rs index 88217fc22b..a307177a86 100644 --- a/crates/nu-command/src/path/dirname.rs +++ b/crates/nu-command/src/path/dirname.rs @@ -54,7 +54,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Get the parent directory of a path" + "Get the parent directory of a path." } fn run( diff --git a/crates/nu-command/src/path/exists.rs b/crates/nu-command/src/path/exists.rs index f25f94ffab..ddd8f37862 100644 --- a/crates/nu-command/src/path/exists.rs +++ b/crates/nu-command/src/path/exists.rs @@ -41,7 +41,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Check whether a path exists" + "Check whether a path exists." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/path/expand.rs b/crates/nu-command/src/path/expand.rs index 0bd6b2b6cf..3d5841a5bb 100644 --- a/crates/nu-command/src/path/expand.rs +++ b/crates/nu-command/src/path/expand.rs @@ -50,7 +50,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Try to expand a path to its absolute form" + "Try to expand a path to its absolute form." } fn run( diff --git a/crates/nu-command/src/path/type.rs b/crates/nu-command/src/path/type.rs index 5279b3d8ee..c1d1fa1a32 100644 --- a/crates/nu-command/src/path/type.rs +++ b/crates/nu-command/src/path/type.rs @@ -39,7 +39,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Get the type of the object a path refers to (e.g., file, dir, symlink)" + "Get the type of the object a path refers to (e.g., file, dir, symlink)." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/platform/ansi/gradient.rs b/crates/nu-command/src/platform/ansi/gradient.rs index 696b625e38..03a3a82ddb 100644 --- a/crates/nu-command/src/platform/ansi/gradient.rs +++ b/crates/nu-command/src/platform/ansi/gradient.rs @@ -54,7 +54,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Add a color gradient (using ANSI color codes) to the given string" + "Add a color gradient (using ANSI color codes) to the given string." } fn run( diff --git a/crates/nu-command/src/platform/ansi/link.rs b/crates/nu-command/src/platform/ansi/link.rs index 7b22f89503..fdf92c1a2c 100644 --- a/crates/nu-command/src/platform/ansi/link.rs +++ b/crates/nu-command/src/platform/ansi/link.rs @@ -45,7 +45,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Add a link (using OSC 8 escape sequence) to the given string" + "Add a link (using OSC 8 escape sequence) to the given string." } fn run( diff --git a/crates/nu-command/src/platform/ansi/strip.rs b/crates/nu-command/src/platform/ansi/strip.rs index d3846584eb..68b96cc2ef 100644 --- a/crates/nu-command/src/platform/ansi/strip.rs +++ b/crates/nu-command/src/platform/ansi/strip.rs @@ -25,7 +25,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Strip ANSI escape sequences from a string" + "Strip ANSI escape sequences from a string." } fn run( diff --git a/crates/nu-command/src/platform/reedline_commands/keybindings.rs b/crates/nu-command/src/platform/reedline_commands/keybindings.rs index b3b796f73c..96b1879841 100644 --- a/crates/nu-command/src/platform/reedline_commands/keybindings.rs +++ b/crates/nu-command/src/platform/reedline_commands/keybindings.rs @@ -20,7 +20,7 @@ impl Command for Keybindings { } fn usage(&self) -> &str { - "Keybindings related commands" + "Keybindings related commands." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/platform/reedline_commands/keybindings_default.rs b/crates/nu-command/src/platform/reedline_commands/keybindings_default.rs index 139a35d1fe..3700fe30ce 100644 --- a/crates/nu-command/src/platform/reedline_commands/keybindings_default.rs +++ b/crates/nu-command/src/platform/reedline_commands/keybindings_default.rs @@ -20,7 +20,7 @@ impl Command for KeybindingsDefault { } fn usage(&self) -> &str { - "List default keybindings" + "List default keybindings." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/platform/reedline_commands/keybindings_list.rs b/crates/nu-command/src/platform/reedline_commands/keybindings_list.rs index b1ce07f433..cf63409edc 100644 --- a/crates/nu-command/src/platform/reedline_commands/keybindings_list.rs +++ b/crates/nu-command/src/platform/reedline_commands/keybindings_list.rs @@ -28,7 +28,7 @@ impl Command for KeybindingsList { } fn usage(&self) -> &str { - "List available options that can be used to create keybindings" + "List available options that can be used to create keybindings." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/platform/term_size.rs b/crates/nu-command/src/platform/term_size.rs index 0e2e5db31a..e2684c4751 100644 --- a/crates/nu-command/src/platform/term_size.rs +++ b/crates/nu-command/src/platform/term_size.rs @@ -14,7 +14,7 @@ impl Command for TermSize { } fn usage(&self) -> &str { - "Returns a record containing the number of columns (width) and rows (height) of the terminal" + "Returns a record containing the number of columns (width) and rows (height) of the terminal." } fn signature(&self) -> Signature { diff --git a/crates/nu-command/src/random/bool.rs b/crates/nu-command/src/random/bool.rs index a79d5aa8f5..419ea59ef3 100644 --- a/crates/nu-command/src/random/bool.rs +++ b/crates/nu-command/src/random/bool.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate a random boolean value" + "Generate a random boolean value." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/random/chars.rs b/crates/nu-command/src/random/chars.rs index b16f831873..23a29aafee 100644 --- a/crates/nu-command/src/random/chars.rs +++ b/crates/nu-command/src/random/chars.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate random chars" + "Generate random chars." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/random/decimal.rs b/crates/nu-command/src/random/decimal.rs index fe366b3d19..242f840bea 100644 --- a/crates/nu-command/src/random/decimal.rs +++ b/crates/nu-command/src/random/decimal.rs @@ -24,7 +24,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate a random decimal within a range [min..max]" + "Generate a random decimal within a range [min..max]." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/random/dice.rs b/crates/nu-command/src/random/dice.rs index 895779650a..f885e390fb 100644 --- a/crates/nu-command/src/random/dice.rs +++ b/crates/nu-command/src/random/dice.rs @@ -34,7 +34,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate a random dice roll" + "Generate a random dice roll." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/random/integer.rs b/crates/nu-command/src/random/integer.rs index 1949e85d2b..a696080182 100644 --- a/crates/nu-command/src/random/integer.rs +++ b/crates/nu-command/src/random/integer.rs @@ -24,7 +24,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate a random integer [min..max]" + "Generate a random integer [min..max]." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/random/uuid.rs b/crates/nu-command/src/random/uuid.rs index dee946a5a0..4cff36dd9a 100644 --- a/crates/nu-command/src/random/uuid.rs +++ b/crates/nu-command/src/random/uuid.rs @@ -19,7 +19,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Generate a random uuid4 string" + "Generate a random uuid4 string." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/detect_columns.rs b/crates/nu-command/src/strings/detect_columns.rs index 5aa379ddfb..5752eaf084 100644 --- a/crates/nu-command/src/strings/detect_columns.rs +++ b/crates/nu-command/src/strings/detect_columns.rs @@ -33,7 +33,7 @@ impl Command for DetectColumns { } fn usage(&self) -> &str { - "Attempt to automatically split text into multiple columns" + "Attempt to automatically split text into multiple columns." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/encode_decode/decode_base64.rs b/crates/nu-command/src/strings/encode_decode/decode_base64.rs index 4dcaee9e24..8bf6804ffc 100644 --- a/crates/nu-command/src/strings/encode_decode/decode_base64.rs +++ b/crates/nu-command/src/strings/encode_decode/decode_base64.rs @@ -40,7 +40,7 @@ impl Command for DecodeBase64 { } fn usage(&self) -> &str { - "Base64 decode a value" + "Base64 decode a value." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/strings/encode_decode/encode_base64.rs b/crates/nu-command/src/strings/encode_decode/encode_base64.rs index 4782afa7fb..65e390aa58 100644 --- a/crates/nu-command/src/strings/encode_decode/encode_base64.rs +++ b/crates/nu-command/src/strings/encode_decode/encode_base64.rs @@ -36,7 +36,7 @@ impl Command for EncodeBase64 { } fn usage(&self) -> &str { - "Encode a string or binary value using Base64" + "Encode a string or binary value using Base64." } fn examples(&self) -> Vec { diff --git a/crates/nu-command/src/strings/format/filesize.rs b/crates/nu-command/src/strings/format/filesize.rs index a8ddd2264b..2c38bdebca 100644 --- a/crates/nu-command/src/strings/format/filesize.rs +++ b/crates/nu-command/src/strings/format/filesize.rs @@ -43,7 +43,7 @@ impl Command for FileSize { } fn usage(&self) -> &str { - "Converts a column of filesizes to some specified format" + "Converts a column of filesizes to some specified format." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/split/chars.rs b/crates/nu-command/src/strings/split/chars.rs index bceff10cad..7d8f05d15a 100644 --- a/crates/nu-command/src/strings/split/chars.rs +++ b/crates/nu-command/src/strings/split/chars.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Split a string into a list of characters" + "Split a string into a list of characters." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/split/column.rs b/crates/nu-command/src/strings/split/column.rs index ab45d66c80..95a7a69a53 100644 --- a/crates/nu-command/src/strings/split/column.rs +++ b/crates/nu-command/src/strings/split/column.rs @@ -39,7 +39,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Split a string into multiple columns using a separator" + "Split a string into multiple columns using a separator." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/split/list.rs b/crates/nu-command/src/strings/split/list.rs index 80fd5ca020..d8aec8ecf7 100644 --- a/crates/nu-command/src/strings/split/list.rs +++ b/crates/nu-command/src/strings/split/list.rs @@ -29,7 +29,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Split a list into multiple lists using a separator" + "Split a list into multiple lists using a separator." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/split/row.rs b/crates/nu-command/src/strings/split/row.rs index 61fc9fae1e..1d700c82c6 100644 --- a/crates/nu-command/src/strings/split/row.rs +++ b/crates/nu-command/src/strings/split/row.rs @@ -33,7 +33,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Split a string into multiple rows using a separator" + "Split a string into multiple rows using a separator." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/split/words.rs b/crates/nu-command/src/strings/split/words.rs index 58b9d8684b..24734e133c 100644 --- a/crates/nu-command/src/strings/split/words.rs +++ b/crates/nu-command/src/strings/split/words.rs @@ -55,7 +55,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Split a string's words into separate rows" + "Split a string's words into separate rows." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/camel_case.rs b/crates/nu-command/src/strings/str_/case/camel_case.rs index d3ed041a95..051599add5 100644 --- a/crates/nu-command/src/strings/str_/case/camel_case.rs +++ b/crates/nu-command/src/strings/str_/case/camel_case.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to camelCase" + "Convert a string to camelCase." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/capitalize.rs b/crates/nu-command/src/strings/str_/case/capitalize.rs index 2f7c420532..d1dd23d2fb 100644 --- a/crates/nu-command/src/strings/str_/case/capitalize.rs +++ b/crates/nu-command/src/strings/str_/case/capitalize.rs @@ -26,7 +26,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Capitalize first letter of text" + "Capitalize first letter of text." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/downcase.rs b/crates/nu-command/src/strings/str_/case/downcase.rs index 9150b40d16..aed85cc2c9 100644 --- a/crates/nu-command/src/strings/str_/case/downcase.rs +++ b/crates/nu-command/src/strings/str_/case/downcase.rs @@ -26,7 +26,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Make text lowercase" + "Make text lowercase." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/kebab_case.rs b/crates/nu-command/src/strings/str_/case/kebab_case.rs index 9b215ecfde..44c55d1245 100644 --- a/crates/nu-command/src/strings/str_/case/kebab_case.rs +++ b/crates/nu-command/src/strings/str_/case/kebab_case.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to kebab-case" + "Convert a string to kebab-case." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/pascal_case.rs b/crates/nu-command/src/strings/str_/case/pascal_case.rs index 49da88d02d..757aab1883 100644 --- a/crates/nu-command/src/strings/str_/case/pascal_case.rs +++ b/crates/nu-command/src/strings/str_/case/pascal_case.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to PascalCase" + "Convert a string to PascalCase." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/screaming_snake_case.rs b/crates/nu-command/src/strings/str_/case/screaming_snake_case.rs index 6489da3902..4e4d6f677e 100644 --- a/crates/nu-command/src/strings/str_/case/screaming_snake_case.rs +++ b/crates/nu-command/src/strings/str_/case/screaming_snake_case.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to SCREAMING_SNAKE_CASE" + "Convert a string to SCREAMING_SNAKE_CASE." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/snake_case.rs b/crates/nu-command/src/strings/str_/case/snake_case.rs index 61133d395a..137908421e 100644 --- a/crates/nu-command/src/strings/str_/case/snake_case.rs +++ b/crates/nu-command/src/strings/str_/case/snake_case.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to snake_case" + "Convert a string to snake_case." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/str_.rs b/crates/nu-command/src/strings/str_/case/str_.rs index 6f86c5c644..6cfd59b715 100644 --- a/crates/nu-command/src/strings/str_/case/str_.rs +++ b/crates/nu-command/src/strings/str_/case/str_.rs @@ -20,7 +20,7 @@ impl Command for Str { } fn usage(&self) -> &str { - "Various commands for working with string data" + "Various commands for working with string data." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/strings/str_/case/title_case.rs b/crates/nu-command/src/strings/str_/case/title_case.rs index 6c42d03c2e..1690c2fa3c 100644 --- a/crates/nu-command/src/strings/str_/case/title_case.rs +++ b/crates/nu-command/src/strings/str_/case/title_case.rs @@ -28,7 +28,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Convert a string to Title Case" + "Convert a string to Title Case." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/case/upcase.rs b/crates/nu-command/src/strings/str_/case/upcase.rs index 61f51b9dc9..d2204aea72 100644 --- a/crates/nu-command/src/strings/str_/case/upcase.rs +++ b/crates/nu-command/src/strings/str_/case/upcase.rs @@ -24,7 +24,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Make text uppercase" + "Make text uppercase." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/collect.rs b/crates/nu-command/src/strings/str_/collect.rs index ec217c59a2..2ebf1efcfa 100644 --- a/crates/nu-command/src/strings/str_/collect.rs +++ b/crates/nu-command/src/strings/str_/collect.rs @@ -26,7 +26,7 @@ impl Command for StrCollect { } fn usage(&self) -> &str { - "Deprecated command" + "Deprecated command." } fn run( diff --git a/crates/nu-command/src/strings/str_/contains.rs b/crates/nu-command/src/strings/str_/contains.rs index f1df1b126a..95a5f24a27 100644 --- a/crates/nu-command/src/strings/str_/contains.rs +++ b/crates/nu-command/src/strings/str_/contains.rs @@ -43,7 +43,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Checks if string input contains a substring" + "Checks if string input contains a substring." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/distance.rs b/crates/nu-command/src/strings/str_/distance.rs index 1b5d4daf7d..ff5c62c706 100644 --- a/crates/nu-command/src/strings/str_/distance.rs +++ b/crates/nu-command/src/strings/str_/distance.rs @@ -43,7 +43,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Compare two strings and return the edit distance/Levenshtein distance" + "Compare two strings and return the edit distance/Levenshtein distance." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/ends_with.rs b/crates/nu-command/src/strings/str_/ends_with.rs index 1edaccb31a..de9f990aad 100644 --- a/crates/nu-command/src/strings/str_/ends_with.rs +++ b/crates/nu-command/src/strings/str_/ends_with.rs @@ -41,7 +41,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Check if an input ends with a string" + "Check if an input ends with a string." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/index_of.rs b/crates/nu-command/src/strings/str_/index_of.rs index c08a45c93b..b9bc0bf335 100644 --- a/crates/nu-command/src/strings/str_/index_of.rs +++ b/crates/nu-command/src/strings/str_/index_of.rs @@ -65,7 +65,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Returns start index of first occurrence of string in input, or -1 if no match" + "Returns start index of first occurrence of string in input, or -1 if no match." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/join.rs b/crates/nu-command/src/strings/str_/join.rs index ea8fe7f813..21f79ed2be 100644 --- a/crates/nu-command/src/strings/str_/join.rs +++ b/crates/nu-command/src/strings/str_/join.rs @@ -26,7 +26,7 @@ impl Command for StrJoin { } fn usage(&self) -> &str { - "Concatenate multiple strings into a single string, with an optional separator between each" + "Concatenate multiple strings into a single string, with an optional separator between each." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/length.rs b/crates/nu-command/src/strings/str_/length.rs index f5518ba2d5..79e6deb128 100644 --- a/crates/nu-command/src/strings/str_/length.rs +++ b/crates/nu-command/src/strings/str_/length.rs @@ -50,7 +50,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Output the length of any strings in the pipeline" + "Output the length of any strings in the pipeline." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/replace.rs b/crates/nu-command/src/strings/str_/replace.rs index ed131f48eb..bb2f966038 100644 --- a/crates/nu-command/src/strings/str_/replace.rs +++ b/crates/nu-command/src/strings/str_/replace.rs @@ -57,7 +57,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Find and replace text" + "Find and replace text." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/reverse.rs b/crates/nu-command/src/strings/str_/reverse.rs index f7db72989b..ae847ac4a1 100644 --- a/crates/nu-command/src/strings/str_/reverse.rs +++ b/crates/nu-command/src/strings/str_/reverse.rs @@ -27,7 +27,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Reverse every string in the pipeline" + "Reverse every string in the pipeline." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/starts_with.rs b/crates/nu-command/src/strings/str_/starts_with.rs index bc43923d78..325eebad82 100644 --- a/crates/nu-command/src/strings/str_/starts_with.rs +++ b/crates/nu-command/src/strings/str_/starts_with.rs @@ -43,7 +43,7 @@ impl Command for SubCommand { } fn usage(&self) -> &str { - "Check if an input starts with a string" + "Check if an input starts with a string." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/strings/str_/trim/trim_.rs b/crates/nu-command/src/strings/str_/trim/trim_.rs index 627056fb3b..148520dada 100644 --- a/crates/nu-command/src/strings/str_/trim/trim_.rs +++ b/crates/nu-command/src/strings/str_/trim/trim_.rs @@ -60,7 +60,7 @@ impl Command for SubCommand { ) } fn usage(&self) -> &str { - "Trim whitespace or specific character" + "Trim whitespace or specific character." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/system/complete.rs b/crates/nu-command/src/system/complete.rs index 511f352a57..2f1f61a309 100644 --- a/crates/nu-command/src/system/complete.rs +++ b/crates/nu-command/src/system/complete.rs @@ -21,7 +21,7 @@ impl Command for Complete { } fn usage(&self) -> &str { - "Capture the outputs and exit code from an external piped in command in a nushell table" + "Capture the outputs and exit code from an external piped in command in a nushell table." } fn extra_usage(&self) -> &str { diff --git a/crates/nu-command/src/system/nu_check.rs b/crates/nu-command/src/system/nu_check.rs index 8399c7ee81..37f48eaed9 100644 --- a/crates/nu-command/src/system/nu_check.rs +++ b/crates/nu-command/src/system/nu_check.rs @@ -28,7 +28,7 @@ impl Command for NuCheck { } fn usage(&self) -> &str { - "Validate and parse input content" + "Validate and parse input content." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-command/src/system/run_external.rs b/crates/nu-command/src/system/run_external.rs index a065ebe68c..c941843ba8 100644 --- a/crates/nu-command/src/system/run_external.rs +++ b/crates/nu-command/src/system/run_external.rs @@ -32,7 +32,7 @@ impl Command for External { } fn usage(&self) -> &str { - "Runs external command" + "Runs external command." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/viewers/explore.rs b/crates/nu-command/src/viewers/explore.rs index ad7138b916..22ecd187d3 100644 --- a/crates/nu-command/src/viewers/explore.rs +++ b/crates/nu-command/src/viewers/explore.rs @@ -23,7 +23,7 @@ impl Command for Explore { } fn usage(&self) -> &str { - "Explore acts as a table pager, just like `less` does for text" + "Explore acts as a table pager, just like `less` does for text." } fn signature(&self) -> nu_protocol::Signature { diff --git a/crates/nu-command/src/viewers/table.rs b/crates/nu-command/src/viewers/table.rs index f8acbee44d..80c71765d5 100644 --- a/crates/nu-command/src/viewers/table.rs +++ b/crates/nu-command/src/viewers/table.rs @@ -48,7 +48,7 @@ impl Command for Table { } fn extra_usage(&self) -> &str { - "If the table contains a column called 'index', this column is used as the table index instead of the usual continuous index" + "If the table contains a column called 'index', this column is used as the table index instead of the usual continuous index." } fn search_terms(&self) -> Vec<&str> { diff --git a/crates/nu-parser/tests/test_parser.rs b/crates/nu-parser/tests/test_parser.rs index 7140bb8383..d9758b8042 100644 --- a/crates/nu-parser/tests/test_parser.rs +++ b/crates/nu-parser/tests/test_parser.rs @@ -1201,7 +1201,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock ls command" + "Mock ls command." } fn signature(&self) -> nu_protocol::Signature { @@ -1228,7 +1228,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock group-by command" + "Mock group-by command." } fn signature(&self) -> nu_protocol::Signature { @@ -1257,7 +1257,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock converter command" + "Mock converter command." } fn signature(&self) -> nu_protocol::Signature { @@ -1287,7 +1287,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock custom group-by command" + "Mock custom group-by command." } fn signature(&self) -> nu_protocol::Signature { @@ -1319,7 +1319,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock custom agg command" + "Mock custom agg command." } fn signature(&self) -> nu_protocol::Signature { @@ -1349,7 +1349,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock custom min command" + "Mock custom min command." } fn signature(&self) -> nu_protocol::Signature { @@ -1376,7 +1376,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock custom with-column command" + "Mock custom with-column command." } fn signature(&self) -> nu_protocol::Signature { @@ -1407,7 +1407,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock custom collect command" + "Mock custom collect command." } fn signature(&self) -> nu_protocol::Signature { @@ -1437,7 +1437,7 @@ mod input_types { } fn usage(&self) -> &str { - "Mock if command" + "Mock if command." } fn signature(&self) -> nu_protocol::Signature {