From 4c565d2020230ad3fdf603fde32b9892e56c16e1 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 26 Feb 2024 20:23:19 -0800 Subject: add ability to fork and print PID after locking --- slock.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'slock.1') diff --git a/slock.1 b/slock.1 index 40c15e1..08b62b9 100644 --- a/slock.1 +++ b/slock.1 @@ -6,6 +6,7 @@ .Nd simple X screen locker .Sh SYNOPSIS .Nm +.Op Fl f Op Fl p .Op Fl v .Op Ar cmd Op Ar arg ... .Sh DESCRIPTION @@ -17,6 +18,10 @@ is executed after the screen has been locked. .Pp The options are as follows: .Bl -tag -width Ds +.It Fl f +Fork and exit parent process after locking screen. +.It Fl p +Print child PID to stdout after forking. .It Fl v Print version information to stdout and exit. .El -- cgit v1.2.3-70-g09d2