From 4a9cae273182d7c17edbab75b7885269fafd8f7d Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Fri, 22 Jun 2012 13:55:21 +0200 Subject: [PATCH] Corrected curl manpage example error --- servefile.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servefile.1 b/servefile.1 index 2bd623b..ec30510 100644 --- a/servefile.1 +++ b/servefile.1 @@ -101,8 +101,8 @@ servefile \-u dir/ .PP Uploading file foo as bar to servefile via command line: .PP - curl \-X PUT http://ip:port/bar \-d @foo - curl \-X POST http://ip:port/bar \-d @foo + curl \-X PUT http://ip:port/bar \-\-data-binary @foo + curl \-X POST http://ip:port/bar \-\-data-binary @foo wget http://ip:port/bar \-\-post-file=foo .PP Serving a on the fly generated tar.gz file of a directory: