Use the file name "-" (a single dash) to use stdin instead of a given file.
Alternately, the file name "." (a single period) may be specified instead of
"-" to use stdin in non-blocking mode to allow reading server output while
stdin is being uploaded.
Comments
The point is to have the ability to pipe to curl, will -T / --upload-file allow that? For now I'm happy with how it worked.
the manpage is very explicit about that: