JackYeh / s3fs

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

Support of --help command line option #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Add --help command line option as outlined in the GNU Coding Standard manual.

Original issue reported on code.google.com by dmoore4...@gmail.com on 21 Oct 2010 at 3:43

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
fixed in r227

--help and -h command line options print this message:

Usage: s3fs BUCKET MOUNTPOINT [OPTION]...

Mount an Amazon S3 bucket as a file system.

   General forms for s3fs and FUSE/mount options:
      -o opt[,opt...]
      -o opt [-o opt] ...

s3fs Options:

   All s3fs options must given in the form where "opt" is:

             <option_name>=<option_value>

   accessKeyId
   secretAccessKey
      - command line over-rides of these settings

   default_acl (default="private")
     - the default canned acl to apply to all written s3 objects
          see http://aws.amazon.com/documentation/s3/ for the 
          full list of canned acls

   retries (default="2")
      - number of times to retry a failed s3 transaction

   use_cache (default="" which means disabled)
      - local folder to use for local file cache

   use_rrs (default="" which means diabled)
      - use Amazon's Reduced Redundancy Storage when set to 1

   public_bucket (default="" which means disabled)
      - anonymously mount a public bucket when set to 1

   passwd_file (default="")
      - specify which s3fs password file to use

   connect_timeout (default="2" seconds)
      - time to wait for connection before giving up

   readwrite_timeout (default="10" seconds)
      - time to wait between read/write activity before giving up

   url (default="http://s3.amazonaws.com")
      - sets the url to use to access amazon s3

FUSE/mount Options:

   Most of the generic mount options described in 'man mount' are
   supported (ro, rw, suid, nosuid, dev, nodev, exec, noexec, atime,
   noatime, sync async, dirsync).  Filesystems are mounted with
   '-onodev,nosuid' by default, which can only be overridden by a
   privileged user.

   There are many FUSE specific mount options that can be specified.
   e.g. allow_other  See the FUSE's README for the full set.

Miscellaneous Options:

 -h, --help        Output this help.
     --version     Output version info.

Report bugs to <s3fs-devel@googlegroups.com>
s3fs home page: <http://code.google.com/p/s3fs/>

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