mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 03:08:24 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
26
docs/commands/str-rtrim.md
Normal file
26
docs/commands/str-rtrim.md
Normal file
@ -0,0 +1,26 @@
|
||||
# str rtrim
|
||||
trims whitespace or character from the end of text
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> str rtrim ...args {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* ...args: optionally trim text starting from the end by column paths
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -c, --char <string>: character to trim (default: whitespace)
|
||||
|
||||
## Examples
|
||||
Trim whitespace from the end of string
|
||||
```shell
|
||||
> echo ' Nu shell ' | str rtrim
|
||||
```
|
||||
|
||||
Trim a specific character
|
||||
```shell
|
||||
> echo '=== Nu shell ===' | str rtrim -c '='
|
||||
```
|
||||
|
Reference in New Issue
Block a user