diff options
author | Viktor Szakats <commit@vszakats.net> | 2018-09-23 22:24:02 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vszakats.net> | 2018-09-23 22:24:02 +0000 |
commit | b801b453af6de75838c3298137628f05e94ffb48 (patch) | |
tree | 77dd34603bdf79dc248eb180849aec0aec9d2421 /docs/MANUAL | |
parent | e407e79c2937b6710ac823f64f36ac0c622f33ce (diff) |
whitespace fixes
- replace tabs with spaces where possible
- remove line ending spaces
- remove double/triple newlines at EOF
- fix a non-UTF-8 character
- cleanup a few indentations/line continuations
in manual examples
Closes https://github.com/curl/curl/pull/3037
Diffstat (limited to 'docs/MANUAL')
-rw-r--r-- | docs/MANUAL | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/MANUAL b/docs/MANUAL index 5df37e44a..280f1226d 100644 --- a/docs/MANUAL +++ b/docs/MANUAL @@ -178,8 +178,8 @@ PROXY options: curl -u "Remote-FTP-Username@remote.ftp.server Proxy-Username:Remote-Pass" \ - --ftp-account Proxy-Password --upload-file local-file \ - ftp://my-ftp.proxy.server:21/remote/upload/path/ + --ftp-account Proxy-Password --upload-file local-file \ + ftp://my-ftp.proxy.server:21/remote/upload/path/ See the manual for your FTP proxy to determine the form it expects to set up transfers, and curl's -v option to see exactly what curl is sending. @@ -234,8 +234,8 @@ UPLOADING SMB / SMBS - curl -T file.txt -u "domain\username:passwd" - smb://server.example.com/share/ + curl -T file.txt -u "domain\username:passwd" \ + smb://server.example.com/share/ HTTP @@ -294,7 +294,7 @@ POST (HTTP) Post a simple "name" and "phone" guestbook. curl -d "name=Rafael%20Sagula&phone=3320780" \ - http://www.where.com/guest.cgi + http://www.where.com/guest.cgi How to post a form with curl, lesson #1: @@ -326,8 +326,8 @@ POST (HTTP) To post to this, you enter a curl command line like: - curl -d "user=foobar&pass=12345&id=blablabla&ding=submit" (continues) - http://www.formpost.com/getthis/post.cgi + curl -d "user=foobar&pass=12345&id=blablabla&ding=submit" \ + http://www.formpost.com/getthis/post.cgi While -d uses the application/x-www-form-urlencoded mime-type, generally @@ -342,7 +342,7 @@ POST (HTTP) with different content types using the following syntax: curl -F "coolfiles=@fil1.gif;type=image/gif,fil2.txt,fil3.html" \ - http://www.post.com/postit.cgi + http://www.post.com/postit.cgi If the content-type is not specified, curl will try to guess from the file extension (it only knows a few), or use the previously specified type (from @@ -839,7 +839,7 @@ LDAP curl "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" By default, if user and password provided, OpenLDAP/WinLDAP will use basic - authentication. On Windows you can control this behavior by providing + authentication. On Windows you can control this behavior by providing one of --basic, --ntlm or --digest option in curl command line curl --ntlm "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" |