mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
Base: Add missing options to the Shell(1) man page
This commit is contained in:
parent
ba3488a6d5
commit
91bcad7cce
1 changed files with 4 additions and 1 deletions
|
@ -5,9 +5,10 @@
|
||||||
## Synopsis
|
## Synopsis
|
||||||
|
|
||||||
```**sh
|
```**sh
|
||||||
$ Shell [--skip-shellrc]
|
$ Shell [--skip-shellrc] [--live-formatting]
|
||||||
$ Shell [--skip-shellrc] command_file [arguments...]
|
$ Shell [--skip-shellrc] command_file [arguments...]
|
||||||
$ Shell [--skip-shellrc] -c command_string [arguments...]
|
$ Shell [--skip-shellrc] -c command_string [arguments...]
|
||||||
|
$ Shell [--skip-shellrc] --format command_file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
@ -25,6 +26,8 @@ The `Shell` utility does not promise POSIX `sh` interoperability.
|
||||||
|
|
||||||
* `-c`, `--command-string`: Executes the given string as a command and exits
|
* `-c`, `--command-string`: Executes the given string as a command and exits
|
||||||
* `--skip-shellrc`: Skips running the initialisation file (at `~/.shellrc`)
|
* `--skip-shellrc`: Skips running the initialisation file (at `~/.shellrc`)
|
||||||
|
* `--format`: Format shell code from the given file and print the result to standard output
|
||||||
|
* `-f`, `--live-formatting`: Enable live formatting of the line editor buffer (in REPL mode)
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue