diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-05 11:17:25 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-05 11:17:25 +0000 |
| commit | e2311792c4ec91afbb3b139a03777fd0e0ba13dd (patch) | |
| tree | ed52d3b52317f6fb930caaf02d6dd946be02107a | |
| parent | f72977a2bf4d7231ffd644d61a7b039e395c7839 (diff) | |
rename rcmd option -e to -x for eXclude and make -e be encryption as with others
| -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). |
