Bug 807261

Summary: gluster volume heal info without volume should display the usage message
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: unclassifiedAssignee: Vijay Bellur <vbellur>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, mzywusko
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-05 10:42:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description M S Vishwanath Bhat 2012-03-27 11:46:09 UTC
Description of problem:
gluster volume heal info (without volname) just says "operation failed". It should display the usage message

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

How reproducible:
Always

Steps to Reproduce:
1. Run gluster volume heal info
  
Actual results:
[root@QA-26 ~]# gluster v heal  info
operation failed
[root@QA-26 ~]# 

Expected results:
Should display the usage message or what is missing in the command

Comment 1 Anand Avati 2012-04-01 12:53:49 UTC
CHANGE: http://review.gluster.com/3057 (mgmt/glusterd: Improvements for volume heal CLI.) merged in master by Vijay Bellur (vijay)

Comment 2 M S Vishwanath Bhat 2012-04-05 10:42:01 UTC
Now it shows usage message when no volume is specified...


[root@QA-25 /]# gluster v heal info
Volume info does not exist