Bug 791198 - When glusterfs is used without any option, it should display usage text
Summary: When glusterfs is used without any option, it should display usage text
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-02-16 13:25 UTC by Anush Shetty
Modified: 2013-12-19 00:07 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:14:23 UTC
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2012-02-16 13:25:03 UTC
Description of problem: When we run glusterfs without any option, it should return the --usage text. Currently it gets logged in the log file.


Version-Release number of selected component (if applicable): 3.3.0qa22


How reproducible: glusterfs --usage


Actual results:

Gets logged in the log file -

[2012-02-16 18:49:19.957735] I [glusterfsd.c:1578:main] 0-glusterfs: Started running glusterfs version 3git
[2012-02-16 18:49:19.957952] E [glusterfsd.c:404:get_volfp] 0-glusterfsd: /usr/local/etc/glusterfs/glusterfs.vol: No such file or directory
[2012-02-16 18:49:19.957979] E [glusterfsd.c:1532:glusterfs_volumes_init] 0-glusterfsd: Cannot reach volume specification file


Expected results:

Should return --usage output on the screen

Comment 1 Anand Avati 2012-02-23 07:12:52 UTC
CHANGE: http://review.gluster.com/2790 (glusterfsd: give out the error on screen when cmd is given without options) merged in master by Vijay Bellur (vijay)

Comment 2 Anush Shetty 2012-03-05 13:25:22 UTC
Tested with 3.3.0qa24.


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