aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-19 21:04:35 +0200
committerMattias Andrée <maandree@kth.se>2017-10-19 21:04:35 +0200
commitac954c4bdabf21635068d039c0ce13add68319a9 (patch)
tree6b27e66f60c37a8d5093a2ebbb789885e824b474 /README
parentRemove crap, simplify makefile, and relicense (diff)
downloadslack-ac954c4bdabf21635068d039c0ce13add68319a9.tar.gz
slack-ac954c4bdabf21635068d039c0ce13add68319a9.tar.bz2
slack-ac954c4bdabf21635068d039c0ce13add68319a9.tar.xz
Simplift and change style
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 7 insertions, 8 deletions
diff --git a/README b/README
index da60144..bfb5961 100644
--- a/README
+++ b/README
@@ -2,8 +2,7 @@ NAME
slack - Spawn processes with customised timer slack
SYNOPSIS
- slack (get | GET)
- slack ((reset | INTERVAL) [--fatal] [--] COMMAND...)
+ slack [-f] ('get' | 'GET' | ('reset' | interval) command [argument] ...
DESCRIPTION
Get the current timer slack value or spawn a new process
@@ -17,13 +16,13 @@ DESCRIPTION
If the verb reset is used, the process shall set the
timer slack value for the process to the default timer
- slack value, and exec(3) to COMMAND.
+ slack value, and exec(3) to command.
- If an INTERVAL is given, the process shall set the
- timer slack value for the process to INTERVAL, and
- exec(3) to COMMAND.
+ If an interval is given, the process shall set the
+ timer slack value for the process to interval, and
+ exec(3) to command.
- INTERVAL must be a positive number, optionally with
+ interval must be a positive number, optionally with
a prefix. Recognised prefixes (and units) are:
ns, n nanoseconds (default)
@@ -35,7 +34,7 @@ DESCRIPTION
on PID 1.
OPTIONS
- --fatal
+ -f
Fail if the timer slack value cannot be set.
NOTES