mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
Base: Add missing options to the Shell(1) man page
This commit is contained in:
parent
ba3488a6d5
commit
91bcad7cce
Notes:
sideshowbarker
2024-07-19 02:06:13 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/91bcad7cce0 Pull-request: https://github.com/SerenityOS/serenity/pull/3661
1 changed files with 4 additions and 1 deletions
|
@ -5,9 +5,10 @@
|
|||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ Shell [--skip-shellrc]
|
||||
$ Shell [--skip-shellrc] [--live-formatting]
|
||||
$ Shell [--skip-shellrc] command_file [arguments...]
|
||||
$ Shell [--skip-shellrc] -c command_string [arguments...]
|
||||
$ Shell [--skip-shellrc] --format command_file
|
||||
```
|
||||
|
||||
## 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
|
||||
* `--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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue