On Thu, Feb 13, 2014 at 11:16:35AM +0800, Gui Hecheng wrote:
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -951,10 +951,8 @@ int cmd_receive(int argc, char **argv)
}
}
- if (optind + 1 != argc) {
- fprintf(stderr, ERROR: receive needs path to
To be consistent with the other cmds, replace the warning msg
with usage() when send/receive are used without any args.
Signed-off-by: Gui Hecheng guihc.f...@cn.fujitsu.com
---
cmds-receive.c | 6 ++
cmds-send.c| 7 ++-
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git