aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 10 insertions, 1 deletions
diff --git a/README b/README
index 2029106..71bf2af 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
sshexec - run a command through ssh(1) with normal command syntax
SYNOPSIS
- sshexec [{ [ssh=ssh-command] [dir=directory]
+ sshexec [{ [ssh=ssh-command] [dir=directory] [cd=(strict|lax)]
[[fd]{>,>>,>|,<,<>}[&]=file] }] [ssh-option] ...
destination command [argument] ...
@@ -43,6 +43,15 @@ OPTIONS
In the remote, change working directory to directory
before executing command.
+ cd=strict
+ Fail without executing the command if it's not possible
+ to set directory as the remote working directory.
+
+ cd=lax
+ Continue (but warn) executing the command even if it's
+ not possible to set directory as the remote working
+ directory.
+
[fd]>=file
After changing working directory (assuming one is
specified), create or truncate the specified file and