Skip to content
Browse files

Qfs tool: allow to read multiple files into standard out with "get" /…

… "copyFromLocal" when the last argument is a single dash.
  • Loading branch information...
1 parent 15057b0 commit 487142616700dc56a3b6e75dfbc3ebed989f509a @mikeov mikeov committed Mar 19, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/cc/tools/qfs_main.cc
View
3 src/cc/tools/qfs_main.cc
@@ -249,8 +249,7 @@ class KfsTool
if (theArgCnt < 2) {
theErr = EINVAL;
ShortHelp(cerr, "Usage: ", theCmdPtr);
- } else if (theArgCnt == 2 &&
- strcmp(theArgsPtr[theArgCnt - 1], "-") == 0) {
+ } else if (strcmp(theArgsPtr[theArgCnt - 1], "-") == 0) {
theErr = Cat(theArgsPtr, theArgCnt - 1);
} else {
theErr = CopyToLocal(

0 comments on commit 4871426

Please sign in to comment.
Something went wrong with that request. Please try again.