aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-09-27 12:27:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-09-27 12:28:13 -0700
commit10b550f7c5cd4b4dc3acfe83b1b7749e212a2a26 (patch)
treeee34e636c3652bf2fda529db82530ba87f5971c3
parentb038248b5dce90f11f6ff9658bd8859bc94f15c2 (diff)
downloadkup-10b550f7c5cd4b4dc3acfe83b1b7749e212a2a26.tar.gz
kup: the signature comes before the remote path
The signature is logically part of the local specification, so make it come before the remote path.
-rwxr-xr-xkup8
1 files changed, 4 insertions, 4 deletions
diff --git a/kup b/kup
index 60bd1a5..6d5a51f 100755
--- a/kup
+++ b/kup
@@ -36,10 +36,10 @@ sub usage($) {
print STDERR " -e --rsh=command Send output to command, override KUP_RSH\n";
print STDERR "\n";
print STDERR "Commands:\n";
- print STDERR " put local_file remote_file signature\n";
- print STDERR " put --tar [--prefix=] remote_tree ref remote_file signature\n";
- print STDERR " put --diff remote_tree ref1 ref2 remote_file signature\n";
- print STDERR " mkdir remote_name\n";
+ print STDERR " put local_file signature remote_path\n";
+ print STDERR " put --tar [--prefix=] remote_tree ref signature remote_path\n";
+ print STDERR " put --diff remote_tree ref1 ref2 signature remote_path\n";
+ print STDERR " mkdir remote_path\n";
print STDERR " mv|move old_path new_path\n";
exit $err;