]> granicus.if.org Git - curl/commitdiff
curl.1: spell out the -O target directory
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Apr 2011 08:35:16 +0000 (10:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 Apr 2011 08:35:16 +0000 (10:35 +0200)
When using -O the file will be saved in the current directory, and this
is now spelled out clearly.

docs/curl.1

index 4814483259d1b83fd4ff361057cf086b5adf5637..04511fae4862cc6ea437b8e77b704b0f2be87cfa 100644 (file)
@@ -916,6 +916,10 @@ part of the remote file is used, the path is cut off.)
 The remote file name to use for saving is extracted from the given URL,
 nothing else.
 
+Consequentially, the file will be saved in the current working directory. If
+you want the file saved in a different directory, make sure you change current
+working directory before you invoke curl with the \fB-O/--remote-name\fP flag!
+
 You may use this option as many times as the number of URLs you have.
 .IP "--remote-name-all"
 This option changes the default action for all given URLs to be dealt with as