Explorar o código

airpaste: add simple examples and clarify existing ones (#2277)

melgu %!s(int64=6) %!d(string=hai) anos
pai
achega
d5233570ee
Modificáronse 1 ficheiros con 10 adicións e 2 borrados
  1. 10 2
      pages/common/airpaste.md

+ 10 - 2
pages/common/airpaste.md

@@ -2,13 +2,21 @@
 
 
 > Share messages and files on the same network.
 > Share messages and files on the same network.
 
 
+- Wait for message and display when received:
+
+`airpaste`
+
+- Send text:
+
+`echo {{text}} | airpaste`
+
 - Send file:
 - Send file:
 
 
-`airpaste < {{file.txt}}`
+`airpaste < {{path/to/file}}`
 
 
 - Receive file:
 - Receive file:
 
 
-`airpaste > {{file.txt}}`
+`airpaste > {{path/to/file}}`
 
 
 - Create/Join channel:
 - Create/Join channel: