From 8b8ae8cd71391996c137c90925796b132346524c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 31 Jul 2016 00:20:32 +1200 Subject: Make sta(1) POSIX-compatible --- man/man1/sta.1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/man1/sta.1 b/man/man1/sta.1 index 49d8bcbd..0a5b82c0 100644 --- a/man/man1/sta.1 +++ b/man/man1/sta.1 @@ -4,12 +4,13 @@ \- run a command on sls(1) hosts and print the hostname if successful .SH SYNOPSIS .B sta -.I COMMAND +.I [COMMAND] .SH DESCRIPTION .B sta -runs a nominated command on all the hosts returned by sls(1), and prints the -hostname if the command has an exit value of 0. The stdout from the commands is -discarded. +attempts a connection and optionally runs a nominated command on all the hosts +returned by sls(1), and prints the hostname if connected and if the optional +command has an exit value of 0. The stdout from the commands is discarded, but +stderr is shown. .SH SEE ALSO sra(1), sls(1) .SH AUTHOR -- cgit v1.2.3