summaryrefslogtreecommitdiff
path: root/appl/cmd/rcmd.b
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2013-06-05 11:17:25 +0000
committerCharles Forsyth <charles.forsyth@gmail.com>2013-06-05 11:17:25 +0000
commite2311792c4ec91afbb3b139a03777fd0e0ba13dd (patch)
treeed52d3b52317f6fb930caaf02d6dd946be02107a /appl/cmd/rcmd.b
parentf72977a2bf4d7231ffd644d61a7b039e395c7839 (diff)
rename rcmd option -e to -x for eXclude and make -e be encryption as with others
Diffstat (limited to 'appl/cmd/rcmd.b')
-rw-r--r--appl/cmd/rcmd.b6
1 files changed, 3 insertions, 3 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)