From e94d20ddebd1610f7c981e848f3e6415dcc36acf Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 24 Jan 2022 02:03:20 +0100 Subject: Use the \(aq escape for quotes in code --- mpaste.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mpaste.1 b/mpaste.1 index a984338..77da1f1 100644 --- a/mpaste.1 +++ b/mpaste.1 @@ -1,5 +1,5 @@ .\" vi: tw=100 -.Dd 23 January, 2022 +.Dd 24 January, 2022 .Dt MPASTE 1 .Os \*(Px .Sh NAME @@ -34,7 +34,7 @@ Once the server is running you can POST a file to the server by sending a form w Here is an example of POSTing a file with .Xr curl 1 : .Pp -.Dl $ curl -X POST -F 'file=@foo.txt' domain.com +.Dl $ curl -X POST -F \(aqfile=@foo.txt\(aq domain.com .Pp After a successful POST the server will respond with a URI to the post in the form .Dq domain.com/ID @@ -83,7 +83,7 @@ header. As an example using .Xr curl 1 : .Pp -.Dl $ curl -X POST -H 'Authorization: YOUR.JWT.TOKEN' -F 'file=@foo.txt' domain.com +.Dl $ curl -X POST -H \(aqAuthorization: YOUR.JWT.TOKEN\(aq -F \(aqfile=@foo.txt\(aq domain.com .Pp Finally, you may want to display content on the paste servers homepage. This is easy and can be done by creating a -- cgit v1.2.3