From e2311792c4ec91afbb3b139a03777fd0e0ba13dd Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Wed, 5 Jun 2013 11:17:25 +0000 Subject: rename rcmd option -e to -x for eXclude and make -e be encryption as with others --- appl/cmd/rcmd.b | 6 +++--- 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) diff --git a/man/1/rcmd b/man/1/rcmd index 2368a37a..c0a8702a 100644 --- a/man/1/rcmd +++ b/man/1/rcmd @@ -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). -- cgit v1.2.3