mirror of
https://tildegit.org/tomasino/pb.git
synced 2024-12-23 03:25:18 +01:00
big cleanup on man page
This commit is contained in:
parent
712c1bf892
commit
396f3b49cd
60
pb.1
60
pb.1
@ -1,16 +1,45 @@
|
|||||||
.TH PB 1 "16 August 2018" "v2018.08.16"
|
.TH PB 1 "16 August 2018" "v2018.08.16"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
pb \- a helper utility for using 0x0 pastebin services
|
pb \- a helper utility for using 0x0 pastebin services
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B pb [options] (filename)
|
.B pb [-fucvh] [-s server_endpoint]
|
||||||
.P
|
.P
|
||||||
|
|
||||||
.SH DESRIPTION
|
.SH DESRIPTION
|
||||||
.B pb
|
.B pb
|
||||||
provides an easy-to-use interface for uploading images
|
provides an easy-to-use interface for uploading images
|
||||||
or piping output to a 0x0 pastebin service. While it
|
or piping output to a 0x0 pastebin service. While it
|
||||||
comes pre-configured with a specific pastebin, the
|
comes pre-configured with a specific pastebin, the
|
||||||
service endpoint can be overridden.
|
service endpoint can be overridden.
|
||||||
.SH USAGE
|
|
||||||
|
Data input can be provided as an argument or via stdin.
|
||||||
|
The data will be processed as an image, text or URL to
|
||||||
|
be shortened based on the context.
|
||||||
|
|
||||||
|
The options are as follows:
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B -f
|
||||||
|
Explicitly interpret stdin as filename or names.
|
||||||
|
.TP
|
||||||
|
.B -s
|
||||||
|
Use alternative pastebin server address.
|
||||||
|
.TP
|
||||||
|
.B -u
|
||||||
|
Shorten a URL.
|
||||||
|
.TP
|
||||||
|
.B -c
|
||||||
|
Pretty color output.
|
||||||
|
.TP
|
||||||
|
.B -v
|
||||||
|
Display current version information.
|
||||||
|
.TP
|
||||||
|
.B -h
|
||||||
|
Show the help.
|
||||||
|
|
||||||
|
.SH EXAMPLES
|
||||||
.TP
|
.TP
|
||||||
.B pb scores.txt
|
.B pb scores.txt
|
||||||
Upload 'scores.txt' to the pastebin
|
Upload 'scores.txt' to the pastebin
|
||||||
@ -22,28 +51,13 @@ Upload piped output to the pastebin
|
|||||||
Upload a list of files to the pastebin individually
|
Upload a list of files to the pastebin individually
|
||||||
.B pb -s http://0x0.st scores.txt
|
.B pb -s http://0x0.st scores.txt
|
||||||
Upload a file to a different pastebin endpoint
|
Upload a file to a different pastebin endpoint
|
||||||
.SH DEPENDENCIES
|
|
||||||
None.
|
|
||||||
.SH OPTIONS
|
|
||||||
.TP
|
.TP
|
||||||
.B -f
|
.B pb -u 'https://tilde.team'
|
||||||
Explicitly interpret stdin as filename or names
|
Shorten the URL to tilde.team
|
||||||
.TP
|
|
||||||
.B -s <server_address>
|
|
||||||
Use alternative pastebin server address
|
|
||||||
.TP
|
|
||||||
.B -u
|
|
||||||
Shorten a URL provided as an argument or passed via stdin
|
|
||||||
.TP
|
|
||||||
.B -c
|
|
||||||
Pretty color output
|
|
||||||
.TP
|
|
||||||
.B -v
|
|
||||||
Display current version information.
|
|
||||||
.TP
|
|
||||||
.B -h
|
|
||||||
Show the help.
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
None known.
|
Report issues at the git repository at
|
||||||
|
.B https://tildegit.org/tomasino/pb
|
||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
James Tomasino <tomasino (at) lavabit (dot) com>
|
James Tomasino <tomasino (at) lavabit (dot) com>
|
||||||
|
Loading…
Reference in New Issue
Block a user