diff options
| -rw-r--r-- | appl/cmd/rcmd.b | 6 | ||||
| -rw-r--r-- | man/1/rcmd | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/appl/cmd/rcmd.b b/appl/cmd/rcmd.b index 69061a73..8815f9b7 100644 --- a/appl/cmd/rcmd.b +++ b/appl/cmd/rcmd.b @@ -26,14 +26,14 @@ init(nil: ref Draw->Context, argv: list of string) doauth := 1; exportpath := "/"; keyfile: string; - arg->setusage("rcmd [-A] [-f keyfile] [-a alg] [-e exportpath] tcp!mach cmd"); + arg->setusage("rcmd [-A] [-f keyfile] [-e alg] [-x exportpath] tcp!mach cmd"); while((o := arg->opt()) != 0) case o { - 'a' => + 'e' or 'a' => alg = arg->earg(); 'A' => doauth = 0; - 'e' => + 'x' => exportpath = arg->earg(); (n, nil) := sys->stat(exportpath); if (n == -1 || exportpath == nil) @@ -4,10 +4,10 @@ rcmd \- remote command execution .SH SYNOPSIS .B rcmd [ -.B -C +.B -e .I cryptoalg ] [ -.B -e +.B -x .I exportpath ] .I host @@ -44,7 +44,7 @@ if it exists, and otherwise it will use the certificate in .BI /usr/ username /keyring/default . .PP The -.B -C +.B -e option sets the algorithm .I cryptoalg to be used following authentication for digesting or encryption. @@ -57,7 +57,7 @@ The default is is not used after authentication. .PP The -.B -e +.B -x option sets the path to be exported as root from the local machine (defaults to .B / if not specified). |
