diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:20:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-31 00:20:32 +1200 |
commit | 8b8ae8cd71391996c137c90925796b132346524c (patch) | |
tree | 1739f8f7c43634976513f59525644602a04a986e /man | |
parent | Set executable bit on paz(1) (diff) | |
download | dotfiles-8b8ae8cd71391996c137c90925796b132346524c.tar.gz dotfiles-8b8ae8cd71391996c137c90925796b132346524c.zip |
Make sta(1) POSIX-compatible
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/sta.1 | 9 |
1 files changed, 5 insertions, 4 deletions
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 |