Bug 179371

Summary: gnome-mount should error on invalid command line
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: gnome-mountAssignee: John (J5) Palmieri <johnp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: davidz, jkeck, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-25 00:28:59 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 Bill Nottingham 2006-01-30 17:42:39 UTC
Version-Release number of selected component (if applicable):

gnome-mount-0.4-0.cvs20060117


How reproducible:

Every time.

Steps to Reproduce:
1. Forget the command line syntax
2. Run 'gnome-umount /dev/hdc'
  
Actual results:

Returns '1', but gives no visible feedback that it failed.

Expected results:

Prints the usage, or something similar (that you need gnome-umount --device
/dev/hdc)

Comment 1 Michal Jaegermann 2006-02-24 00:46:41 UTC
It is even worse.  An output from '--help' suggests that the following is valid:

    gnome-umount -e -d /dev/fd0

but this fails silently although 'gnome-mount -e -d /dev/fd0' does work, at least
partially.  Adding superfluous option should not have such effect.

Comment 2 David Zeuthen 2006-02-25 00:28:59 UTC
Should be fixed in 0.4-2 otherwise please reopen.