Bug 807155 - make build-deploy-jar to display usage message when no arguments are given.
Summary: make build-deploy-jar to display usage message when no arguments are given.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: HDFS
Version: pre-release
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: M S Vishwanath Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 07:52 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 11:57:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description M S Vishwanath Bhat 2012-03-27 07:52:42 UTC
Description of problem:
build-deploy-jar prints only error message when no arguments are given. Make it print usage message also along the error message.

Version-Release number of selected component (if applicable):
git master

How reproducible:
Always

Steps to Reproduce:
1. run ./build-deploy-jar with no arguments
  
Actual results:
Only error message is displayed.

Expected results:
Usage should also be displayed.

Comment 1 Anand Avati 2012-03-28 19:06:01 UTC
CHANGE: http://review.gluster.com/3017 (build-deploy-jar.py: Print usage message when hadoop home directory is missing.) merged in master by Vijay Bellur (vijay)

Comment 2 M S Vishwanath Bhat 2012-04-12 11:57:43 UTC
Now gives proper error message when no arguments are given to the script.


Note You need to log in before you can comment on or make changes to this bug.