aboutsummaryrefslogtreecommitdiffhomepage
path: root/mpaste.1
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-01-24 02:03:20 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-01-24 02:03:20 +0100
commite94d20ddebd1610f7c981e848f3e6415dcc36acf (patch)
treeb31ec7d01165886076ea0cce9c5bcb901f2610f9 /mpaste.1
parent6ceae6e3f41a9e80c30d7922279aeac457ac9a4f (diff)
Use the \(aq escape for quotes in code
Diffstat (limited to 'mpaste.1')
-rw-r--r--mpaste.16
1 files 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