You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by bl...@apache.org on 2012/12/17 21:29:09 UTC
git commit: SQOOP-775 Addtowar.sh script is silently ignoring unknown
arguments (Jarek Jarcec Cecho)
Updated Branches:
refs/heads/sqoop2 649178222 -> 32c420678
SQOOP-775 Addtowar.sh script is silently ignoring unknown arguments
(Jarek Jarcec Cecho)
Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/32c42067
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/32c42067
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/32c42067
Branch: refs/heads/sqoop2
Commit: 32c420678f4b2c944d11f8b89ce2fdc1947e9816
Parents: 6491782
Author: Bilung Lee <bl...@apache.org>
Authored: Mon Dec 17 11:48:57 2012 -0800
Committer: Bilung Lee <bl...@apache.org>
Committed: Mon Dec 17 12:28:54 2012 -0800
----------------------------------------------------------------------
dist/src/main/bin/addtowar.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/sqoop/blob/32c42067/dist/src/main/bin/addtowar.sh
----------------------------------------------------------------------
diff --git a/dist/src/main/bin/addtowar.sh b/dist/src/main/bin/addtowar.sh
index 27916ee..fd41608 100644
--- a/dist/src/main/bin/addtowar.sh
+++ b/dist/src/main/bin/addtowar.sh
@@ -231,6 +231,12 @@ do
exit -1
fi
warPath=$1
+ else
+ echo
+ echo "Unknown argument: $1"
+ echo
+ printUsage
+ exit -1
fi
shift