printf "%s: version %s\n" "$weAreKnownAs" "$version"
printf "Part of s3-bash. Latest version is at %s\n" 'http://code.google.com/p/s3-bash/'
printf "Usage %s: -h\n" "$weAreKnownAs"
printf "%s: version %s\n" "$weAreKnownAs" "$version"
printf "Part of s3-bash. Latest version is at %s\n" 'http://code.google.com/p/s3-bash/'
printf "Usage %s: -h\n" "$weAreKnownAs"
printf " Option\tType\tRequirement\tDescription\n"
printf " -h\t\tprecedent\tprint this help\n"
printf " -v\t\toptional\tverbose output\n"
printf " Option\tType\tRequirement\tDescription\n"
printf " -h\t\tprecedent\tprint this help\n"
printf " -v\t\toptional\tverbose output\n"
printf " -S\t\toptional\tUse https\n"
printf " -H\tfile\toptional\tFile to write response headers to\n"
printf " -a\tfile\toptional\tFile to read Amazon custom headers from (X-Amz-Date is not allowed)\n"
printf " -S\t\toptional\tUse https\n"
printf " -H\tfile\toptional\tFile to write response headers to\n"
printf " -a\tfile\toptional\tFile to read Amazon custom headers from (X-Amz-Date is not allowed)\n"
printf " -c\tMIME\toptional\tMIME Content type. Default is text/plain\n"
printf " \turl\tmandatory\trelative url including bucket name and leading slash, eg /bucket/path/to/object?acl. Assumed to be already encoded\n"
printf "\n"
printf " -c\tMIME\toptional\tMIME Content type. Default is text/plain\n"
printf " \turl\tmandatory\trelative url including bucket name and leading slash, eg /bucket/path/to/object?acl. Assumed to be already encoded\n"
printf "\n"
H) dumpHeaderFile="$OPTARG";;
T) fileToUpload="$OPTARG";;
a) amazonHeaderFile="$OPTARG";;
H) dumpHeaderFile="$OPTARG";;
T) fileToUpload="$OPTARG";;
a) amazonHeaderFile="$OPTARG";;
c) contentType="$OPTARG";;
[?]) printErrorHelpAndExit "Option not recognised" $userSpecifiedDataErrorExitCode;;
esac
c) contentType="$OPTARG";;
[?]) printErrorHelpAndExit "Option not recognised" $userSpecifiedDataErrorExitCode;;
esac