mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-02-08 05:09:15 +01:00
doc: Clean up command documentation
This commit is contained in:
parent
5fbf8adf41
commit
85c4cfbfe8
@ -7,16 +7,14 @@ This script supports using [delta](https://github.com/dandavison/delta) as an al
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Command Line
|
## Usage
|
||||||
|
|
||||||
**Synopsis:**
|
`batdiff [OPTIONS] FILE`
|
||||||
|
`batdiff [OPTIONS] FILE OTHER_FILE`
|
||||||
- `batdiff [OPTIONS] FILE`
|
|
||||||
- `batdiff [OPTIONS] FILE OTHER_FILE`
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options:**
|
## Options
|
||||||
|
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
| ----- | ------------------------- | ------------------------------------------------------------ |
|
| ----- | ------------------------- | ------------------------------------------------------------ |
|
||||||
|
@ -6,18 +6,16 @@ Search through files or directories looking for matching regular expressions (or
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Command Line
|
## Usage
|
||||||
|
|
||||||
**Synopsis:**
|
`batgrep [OPTIONS] PATTERN [PATH...]`
|
||||||
|
|
||||||
- `batgrep [OPTIONS] PATTERN [PATH...] `
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options:**
|
## Options
|
||||||
|
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
| ----- | -------------------------- | ------------------------------------------------------------ |
|
| ----- | ---------------------------- | ------------------------------------------------------------ |
|
||||||
| `-i` | `--ignore-case` | Use case insensitive searching. |
|
| `-i` | `--ignore-case` | Use case insensitive searching. |
|
||||||
| `-s` | `--case-sensitive` | Use case sensitive searching. |
|
| `-s` | `--case-sensitive` | Use case sensitive searching. |
|
||||||
| `-S` | `--smart-case` | Use smart case searching. |
|
| `-S` | `--smart-case` | Use smart case searching. |
|
||||||
@ -34,9 +32,6 @@ Search through files or directories looking for matching regular expressions (or
|
|||||||
| | `--pager=[PAGER]` | Specify the pager to use. |
|
| | `--pager=[PAGER]` | Specify the pager to use. |
|
||||||
| | `--terminal-width=[COLS]` | Generate output for the specified terminal width. |
|
| | `--terminal-width=[COLS]` | Generate output for the specified terminal width. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options (Passthrough)**:
|
|
||||||
The following options are passed directly to ripgrep, and are not handled by this script.
|
The following options are passed directly to ripgrep, and are not handled by this script.
|
||||||
|
|
||||||
| Short | Long | Notes |
|
| Short | Long | Notes |
|
||||||
|
@ -6,15 +6,13 @@ Gone are the days of losing your place while reading through monotone manual pag
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Command Line
|
## Usage
|
||||||
|
|
||||||
**Synopsis:**
|
`batman [SECTION] [ENTRY]`
|
||||||
|
|
||||||
- `batman [SECTION] [ENTRY] `
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Environment:**
|
## Environment
|
||||||
|
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
| ---------- | ------------------------------------------------------------ |
|
| ---------- | ------------------------------------------------------------ |
|
||||||
@ -23,14 +21,6 @@ Gone are the days of losing your place while reading through monotone manual pag
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Caveats
|
|
||||||
|
|
||||||
None so far.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
This script is a part of the `bat-extras` suite of scripts. You can find install instructions [here](../README.md#installation).
|
This script is a part of the `bat-extras` suite of scripts. You can find install instructions [here](../README.md#installation).
|
||||||
|
@ -6,15 +6,13 @@ Watch for changes in one or more files, and print them with `bat`.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Command Line
|
## Usage
|
||||||
|
|
||||||
**Synopsis:**
|
`batwatch [OPTIONS] FILE...`
|
||||||
|
|
||||||
- `batwatch [OPTIONS] FILE... `
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options:**
|
## Options
|
||||||
|
|
||||||
| Short | Long | Description |
|
| Short | Long | Description |
|
||||||
| ----- | --------------------- | ------------------------------------------------------------ |
|
| ----- | --------------------- | ------------------------------------------------------------ |
|
||||||
@ -24,9 +22,6 @@ Watch for changes in one or more files, and print them with `bat`.
|
|||||||
| | `--color` | Force color output. |
|
| | `--color` | Force color output. |
|
||||||
| | `--no-color` | Force disable color output. |
|
| | `--no-color` | Force disable color output. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options (Passthrough)**:
|
|
||||||
All remaining options are passed through to bat.
|
All remaining options are passed through to bat.
|
||||||
|
|
||||||
|
|
||||||
@ -48,11 +43,6 @@ This script is a part of the `bat-extras` suite of scripts. You can find install
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Caveats
|
|
||||||
|
|
||||||
None so far.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Issues?
|
## Issues?
|
||||||
|
|
||||||
|
@ -6,15 +6,14 @@ The only thing better than syntax highlighting? Syntax highlighting *and* code f
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Command Line
|
## Usage
|
||||||
|
|
||||||
**Synopsis:**
|
`prettybat [OPTIONS] [PATH...]`
|
||||||
|
|
||||||
- `prettybat [OPTIONS] [PATH...] `
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Options:**
|
## Options
|
||||||
|
|
||||||
Every option is passed through to `bat`.
|
Every option is passed through to `bat`.
|
||||||
See `man bat` for more information.
|
See `man bat` for more information.
|
||||||
|
|
||||||
@ -58,4 +57,3 @@ This script is a part of the `bat-extras` suite of scripts. You can find install
|
|||||||
|
|
||||||
If you find an issue or have a feature suggestion, make a pull request or issue through GitHub!
|
If you find an issue or have a feature suggestion, make a pull request or issue through GitHub!
|
||||||
Contributions are always welcome.
|
Contributions are always welcome.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user