mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
Mention --list-heading
newline behavior (#860)
This commit is contained in:
parent
73337524b2
commit
39e76488b5
12
README.adoc
12
README.adoc
@ -355,7 +355,7 @@ default:
|
||||
The heading text can be customized with `--list-heading`:
|
||||
|
||||
```
|
||||
$ just --list --list-heading 'Cool stuff…\n'
|
||||
$ just --list --list-heading $'Cool stuff…\n'
|
||||
Cool stuff…
|
||||
test
|
||||
build
|
||||
@ -370,6 +370,16 @@ Available recipes:
|
||||
····build
|
||||
```
|
||||
|
||||
The argument to `--list-heading` replaces both the heading and the newline
|
||||
following it, so it should contain a newline if non-empty. It works this way so
|
||||
you can suppress the heading line entirely by passing the empty string:
|
||||
|
||||
```
|
||||
$ just --list --list-heading ''
|
||||
test
|
||||
build
|
||||
```
|
||||
|
||||
=== Aliases
|
||||
|
||||
Aliases allow recipes to be invoked with alternative names:
|
||||
|
Loading…
Reference in New Issue
Block a user