mirror of
https://tildegit.org/envs/pb.git
synced 2025-04-08 00:05:51 +00:00
documentation added for URL shortening
This commit is contained in:
parent
740261edfa
commit
712c1bf892
2 changed files with 15 additions and 5 deletions
17
README.md
17
README.md
|
@ -1,4 +1,4 @@
|
||||||
pb   
|
pb   
|
||||||
------
|
------
|
||||||
|
|
||||||
**pb** is a helper utility for using 0x0 pastebin services
|
**pb** is a helper utility for using 0x0 pastebin services
|
||||||
|
@ -33,14 +33,21 @@ pb -s http://0x0.st scores.txt
|
||||||
|
|
||||||
Upload a file to a different pastebin endpoint
|
Upload a file to a different pastebin endpoint
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pb -u https://google.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Shorten a URL
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
-f Explicitly interpret stdin as filename
|
-h Show this help
|
||||||
-s server_address Use alternative pastebin server address
|
|
||||||
-c Pretty color output
|
|
||||||
-v Show current version number
|
-v Show current version number
|
||||||
-h Show help
|
-f Explicitly interpret stdin as filename
|
||||||
|
-c Pretty color output
|
||||||
|
-u Shorten URL
|
||||||
|
-s server_address Use alternative pastebin server address
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install
|
### Install
|
||||||
|
|
3
pb.1
3
pb.1
|
@ -32,6 +32,9 @@ Explicitly interpret stdin as filename or names
|
||||||
.B -s <server_address>
|
.B -s <server_address>
|
||||||
Use alternative pastebin server address
|
Use alternative pastebin server address
|
||||||
.TP
|
.TP
|
||||||
|
.B -u
|
||||||
|
Shorten a URL provided as an argument or passed via stdin
|
||||||
|
.TP
|
||||||
.B -c
|
.B -c
|
||||||
Pretty color output
|
Pretty color output
|
||||||
.TP
|
.TP
|
||||||
|
|
Loading…
Add table
Reference in a new issue