xiongxu / s3fs

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

Need command line option checking and useful error/usage messages #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
% s3fs
s3fs: missing bucket

is insufficient.  Useful feedback is needed to help users help themselves.

Original issue reported on code.google.com by dmoore4...@gmail.com on 29 Oct 2010 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by dmoore4...@gmail.com on 7 Nov 2010 at 12:29

GoogleCodeExporter commented 9 years ago
Added a bunch of error checking to the command line options in addition to what 
is provided by getopt_long

My basic philosophy is to not let poorly formed options make it to fuse.  Every 
option should have a meaning and be consistent with any other options provided. 
For example, specifying credentials at the same time indicating the the the 
bucket is public doesn't make sense.

Original comment by dmoore4...@gmail.com on 7 Nov 2010 at 1:57