Crystal03 / google-docs-fs

Automatically exported from code.google.com/p/google-docs-fs
GNU General Public License v2.0
0 stars 0 forks source link

gmount should provide usage if args not correct #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
run gmount without any parameters

What is the expected output?
Should output usage example

What do you see instead?
prompted for a password

Please provide any additional information below.
Please update gmount sh script to add an if check for correct usage, see 
attached for updated file, but basically you just need to add something like 
the following check:
if [ $# -eq 2 ]
then
        ${BASE_DIR}/gmount.py $*
else
        echo "Usage: gmount {mount_point} {username}"
fi

Original issue reported on code.google.com by DasWoo...@gmail.com on 8 Jun 2010 at 6:18

Attachments:

GoogleCodeExporter commented 9 years ago
Hi thanks for that. I've amended the script and the fix is in SVN.

Original comment by d38dm8nw81k1ng@gmail.com on 26 Jun 2010 at 11:01