diff mbox series

[v2,1/3] man: document jobs builtin

Message ID ce831de5c91ebd75b6da5fbdd7de79159a765e6f.1671063677.git.nabijaczleweli@nabijaczleweli.xyz (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series [v2,1/3] man: document jobs builtin | expand

Commit Message

Ahelenia Ziemiańska Dec. 15, 2022, 12:22 a.m. UTC
Fixes: https://bugs.debian.org/558607
---
Resending my patchset from May while I'm at it.

 src/dash.1 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Herbert Xu Jan. 5, 2023, 9:44 a.m. UTC | #1
наб <nabijaczleweli@nabijaczleweli.xyz> wrote:
> [-- text/plain, encoding quoted-printable, charset: us-ascii, 37 lines --]
> 
> Fixes: https://bugs.debian.org/558607
> ---
> Resending my patchset from May while I'm at it.
> 
> src/dash.1 | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)

All applied.  Thanks.
diff mbox series

Patch

diff --git a/src/dash.1 b/src/dash.1
index ff02237..969a883 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -1464,6 +1464,20 @@  The
 .Fl r
 option causes the hash command to delete all the entries in the hash table
 except for functions.
+.It jobs Oo Fl lp Oc Op Ar job ...
+Display the status of all, or just the specified,
+.Ar job Ns s :
+.Bl -tag -compact -offset 5n -width "By default"
+.It By default
+display the job number, currency
+.Pq Sy +-
+status, if any, the job state, and its shell command.
+.It Fl l
+also output the PID of the group leader, and just the PID and shell commands
+of other members of the job.
+.It Fl p
+Display only leader PIDs, one per line.
+.El
 .It pwd Op Fl LP
 builtin command remembers what the current directory
 is rather than recomputing it each time.