1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

Base: Remove trailing colons from man page headings

Most man pages don't have these, so removing them where they do exist
makes things more consistent.
This commit is contained in:
Tim Ledbetter 2023-03-30 23:06:56 +01:00 committed by Sam Atkins
parent 8f253a745e
commit a5b9fb28c2
27 changed files with 48 additions and 48 deletions

View file

@ -10,7 +10,7 @@
$ Eyes [--num-eyes number] [--max-in-row number] [--grid-rows number] [--grid-cols number]
```
## Options:
## Options
* `--help`: Display help message and exit
* `--version`: Print version

View file

@ -8,7 +8,7 @@ UserspaceEmulator
$ UserspaceEmulator [--report-to-debug] [--pause] [--profile] [--profile-interval num_instructions] [--profile-file path] [--roi] <command...>
```
## Options:
## Options
* `--report-to-debug`: Write reports to the debug log
* `-p`, `--pause`: Pause on startup
@ -17,7 +17,7 @@ $ UserspaceEmulator [--report-to-debug] [--pause] [--profile] [--profile-interva
* `--profile-file path`: File path for profile dump
* `--roi`: Enable Region-of-Interest mode for profiling
## Arguments:
## Arguments
* `command`: Command to emulate

View file

@ -12,11 +12,11 @@ $ config [--remove] <domain> <group> [key] [value]
Show or modify values in the configuration files through ConfigServer.
## Options:
## Options
* `-r`, `--remove`: Remove group or key
## Arguments:
## Arguments
* `domain`: Config domain
* `group`: Group name

View file

@ -12,7 +12,7 @@ $ fortune [path]
Open a fortune cookie, receive a free quote for the day!
## Arguments:
## Arguments
* `path`: Path to JSON file with quotes (/res/fortunes.json by default)

View file

@ -8,7 +8,7 @@ grep
$ grep [--recursive] [--extended-regexp] [--fixed-strings] [--regexp Pattern] [-i] [--line-numbers] [--invert-match] [--quiet] [--no-messages] [--binary-mode ] [--text] [-I] [--color WHEN] [--count] [file...]
```
## Options:
## Options
* `-r`, `--recursive`: Recursively scan files
* `-E`, `--extended-regexp`: Extended regular expressions
@ -25,7 +25,7 @@ $ grep [--recursive] [--extended-regexp] [--fixed-strings] [--regexp Pattern] [-
* `--color WHEN`: When to use colored output for the matching text ([auto], never, always)
* `-c`, `--count`: Output line count instead of line contents
## Arguments:
## Arguments
* `file`: File(s) to process

View file

@ -8,12 +8,12 @@ gunzip
$ gunzip [--keep] [--stdout] <FILE...>
```
## Options:
## Options
* `-k`, `--keep`: Keep (don't delete) input files
* `-c`, `--stdout`: Write to stdout, keep original files unchanged
## Arguments:
## Arguments
* `FILE`: File to decompress

View file

@ -8,13 +8,13 @@ gzip
$ gzip [--keep] [--stdout] [--decompress] <FILES...>
```
## Options:
## Options
* `-k`, `--keep`: Keep (don't delete) input files
* `-c`, `--stdout`: Write to stdout, keep original files unchanged
* `-d`, `--decompress`: Decompress
## Arguments:
## Arguments
* `FILES`: Files

View file

@ -12,7 +12,7 @@ $ ifconfig [--ipv4 ip] [--adapter adapter] [--mask mask]
Display or modify the configuration of each network interface.
## Options:
## Options
* `-i ip`, `--ipv4 ip`: Set the IP address of the selected network
* `-a adapter`, `--adapter adapter`: Select a specific network adapter to configure

View file

@ -12,14 +12,14 @@ $ lsof [-p pid] [-d fd] [-u login/UID] [-g PGID] [filename]
List open files of a processes. This can mean actual files in the file system, sockets, pipes, etc.
## Options:
## Options
* `-p pid`: Select by PID
* `-d fd`: Select by file descriptor
* `-u login/UID`: Select by login/UID
* `-g PGID`: Select by process group ID
## Arguments:
## Arguments
* `filename`: Filename

View file

@ -12,7 +12,7 @@ $ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
Network cat: Connect to network sockets as if it were a file.
## Options:
## Options
* `-l`, `--listen`: Listen instead of connecting
* `-v`, `--verbose`: Log everything that's happening
@ -20,7 +20,7 @@ Network cat: Connect to network sockets as if it were a file.
* `-N`: Close connection after reading stdin to the end
* `-I`, `--length`: Set maximum tcp receive buffer size
## Arguments:
## Arguments
* `target`: Address to listen on, or the address or hostname to connect to
* `port`: Port to connect to or listen on

View file

@ -12,7 +12,7 @@ $ netstat [--all] [--list] [--tcp] [--udp] [--numeric] [--program] [--wide]
Display network connections
## Options:
## Options
* `-a`, `--all`: Display both listening and non-listening sockets
* `-l`, `--list`: Display only listening sockets

View file

@ -8,7 +8,7 @@ nl
$ nl [--body-numbering style] [--increment number] [--separator string] [--startnum number] [--width number] [file...]
```
## Options:
## Options
* `-b style`, `--body-numbering style`: Line numbering style: 't' for non-empty lines, 'a' for all lines, 'n' for no lines
* `-i number`, `--increment number`: Line count increment
@ -16,7 +16,7 @@ $ nl [--body-numbering style] [--increment number] [--separator string] [--start
* `-v number`, `--startnum number`: Initial line number
* `-w number`, `--width number`: Number width
## Arguments:
## Arguments
* `file`: Files to process

View file

@ -8,13 +8,13 @@ ntpquery
$ ntpquery [--adjust] [--set] [--verbose] [host]
```
## Options:
## Options
* `-a`, `--adjust`: Gradually adjust system time (requires root)
* `-s`, `--set`: Immediately set system time (requires root)
* `-v`, `--verbose`: Verbose output
## Arguments:
## Arguments
* `host`: NTP server

View file

@ -12,13 +12,13 @@ $ passwd [--delete] [--lock] [--unlock] [username]
Modify an account password.
## Options:
## Options
* `-d`, `--delete`: Delete password
* `-l`, `--lock`: Lock password
* `-u`, `--unlock`: Unlock password
## Arguments:
## Arguments
* `username`: Username

View file

@ -8,7 +8,7 @@ readelf
$ readelf [--all] [--file-header] [--program-headers] [--section-headers] [--headers] [--syms] [--dyn-syms] [--dynamic] [--notes] [--relocs] [--unwind] [--checksec] [--string-dump section-name] <path>
```
## Options:
## Options
* `-a`, `--all`: Display all
* `-h`, `--file-header`: Display ELF header
@ -24,7 +24,7 @@ $ readelf [--all] [--file-header] [--program-headers] [--section-headers] [--hea
* `-c`, `--checksec`: Display security hardening info
* `-p section-name`, `--string-dump section-name`: Display the contents of a section as strings
## Arguments:
## Arguments
* `path`: ELF path

View file

@ -8,7 +8,7 @@ shot
$ shot [--clipboard] [--delay seconds] [--screen index] [--region] [--edit] [output]
```
## Options:
## Options
* `-c`, `--clipboard`: Output to clipboard
* `-d seconds`, `--delay seconds`: Seconds to wait before taking a screenshot
@ -16,7 +16,7 @@ $ shot [--clipboard] [--delay seconds] [--screen index] [--region] [--edit] [out
* `-r`, `--region`: Select a region to capture
* `-e`, `--edit`: Open in PixelPaint
## Arguments:
## Arguments
* `output`: Output filename

View file

@ -12,7 +12,7 @@ $ sql [--database database] [--read file] [--source file] [--no-sqlrc]
This is a client for the SerenitySQL database server.
## Options:
## Options
* `-d database`, `--database database`: Database to connect to
* `-r file`, `--read file`: File to read

View file

@ -12,14 +12,14 @@ $ strace [--pid pid] [--output output] [--exclude exclude] [--include include] [
Trace all syscalls and their result.
## Options:
## Options
* `-p pid`, `--pid pid`: Trace the given PID
* `-o output`, `--output output`: Filename to write output to
* `-e exclude`, `--exclude exclude`: Comma-delimited syscalls to exclude
* `-i include`, `--include include`: Comma-delimited syscalls to include
## Arguments:
## Arguments
* `argument`: Arguments to exec

View file

@ -15,7 +15,7 @@ $ su [-] [user] [-c command]
When called with no user-specified, `su` defaults to switch to the *root* user. Need to enter the password if the user switch to has one.
## Options:
## Options
* `-`, `-l`, `--login`: Start the shell as it was a real login
* `-c`, `--command`: Execute a command using `/bin/sh` instead of starting an interactive shell

View file

@ -8,13 +8,13 @@ tr
$ tr [--complement] [--delete] [--squeeze-repeats] <from> [to]
```
## Options:
## Options
* `-c`, `--complement`: Take the complement of the first set
* `-d`, `--delete`: Delete characters instead of replacing
* `-s`, `--squeeze-repeats`: Omit repeated characters listed in the last given set from the output
## Arguments:
## Arguments
* `from`: Set of characters to translate from
* `to`: Set of characters to translate to

View file

@ -8,13 +8,13 @@ traceroute
$ traceroute [--max-hops hops] [--max-retries tries] [--timeout seconds] <destination>
```
## Options:
## Options
* `-h hops`, `--max-hops hops`: use at most <hops> to the destination
* `-r tries`, `--max-retries tries`: retry TTL at most <tries> times
* `-t seconds`, `--timeout seconds`: wait at most <seconds> for a response
## Arguments:
## Arguments
* `destination`: destination

View file

@ -8,13 +8,13 @@ tree
$ tree [--all] [--only-directories] [--maximum-depth level] [directories...]
```
## Options:
## Options
* `-a`, `--all`: Show hidden files
* `-d`, `--only-directories`: Show only directories
* `-L level`, `--maximum-depth level`: Maximum depth of the tree
## Arguments:
## Arguments
* `directories`: Directories to print

View file

@ -8,12 +8,12 @@ truncate
$ truncate [--size size] [--reference file] <file>
```
## Options:
## Options
* `-s size`, `--size size`: Resize the target file to (or by) this size. Prefix with + or - to expand or shrink the file, or a bare number to set the size exactly
* `-r file`, `--reference file`: Resize the target file to match the size of this one
## Arguments:
## Arguments
* `file`: File path

View file

@ -8,14 +8,14 @@ utmpupdate
$ utmpupdate [--create] [--delete] [--PID PID] [--from From] <tty>
```
## Options:
## Options
* `-c`, `--create`: Create entry
* `-d`, `--delete`: Delete entry
* `-p PID`, `--PID PID`: PID
* `-f From`, `--from From`: From
## Arguments:
## Arguments
* `tty`: TTY name

View file

@ -8,7 +8,7 @@ wc - word, line, character, and byte count
$ wc [--lines] [--bytes] [--words] [file...]
```
## Options:
## Options
* `--help`: Display help message and exit
* `--version`: Print version
@ -16,7 +16,7 @@ $ wc [--lines] [--bytes] [--words] [file...]
* `-c`, `--bytes`: Output byte count
* `-w`, `--words`: Output word count
## Arguments:
## Arguments
* `file`: File to process

View file

@ -8,7 +8,7 @@ WebServer - Serenity web server
$ WebServer [--listen-address listen_address] [--port port] [--user username] [--pass password] [path]
```
## Options:
## Options
* `--help`: Display help message and exit
* `--version`: Print version
@ -17,7 +17,7 @@ $ WebServer [--listen-address listen_address] [--port port] [--user username] [-
* `-U username`, `--user username`: HTTP basic authentication username
* `-P password`, `--pass password`: HTTP basic authentication password
## Arguments:
## Arguments
* `path`: Path to serve the contents of

View file

@ -13,7 +13,7 @@ $ usermod [--uid uid] [--gid gid] [--lock] [--unlock] [--home new-home] [--move]
This program modifies an existing user account.
This program must be run as root.
## Options:
## Options
* `--help`: Display help message and exit
* `--version`: Print version
@ -26,7 +26,7 @@ This program must be run as root.
* `-s path-to-shell`, `--shell path-to-shell`: The name of the user's new login shell
* `-n general-info`, `--gecos general-info`: Change the GECOS field of the user
## Arguments:
## Arguments
* `username`: Username of the account to modify