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
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)
Tested with 3.3.0qa24.