From b806df705012e56a668b3ebe6ed0c05df6653b70 Mon Sep 17 00:00:00 2001 From: James Tomasino Date: Wed, 15 Aug 2018 00:03:30 -0400 Subject: [PATCH] updated readme with info from manpage --- README.md | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 70d752c..ce20e65 100644 --- a/README.md +++ b/README.md @@ -7,27 +7,39 @@ pb provides an easy-to-use interface for uploading images or piping output pastebin service. While it comes pre-configured with a specific pastebin, the service endpoint can be overridden. -## Usage +## Usage Examples ```bash pb scores.txt - Upload 'scores.txt' to the pastebin - -echo 'Secret info' | pb - Upload piped output to the pastebin - -find . -type f -name '*.js' -print | pb -f - Upload a list of files to the pastebin individually pb -s http://0x0.st scores.txt - Upload a file to a different pastebin endpoint ``` +Upload 'scores.txt' to the pastebin + +```bash +echo 'Secret info' | pb +``` + +Upload piped output to the pastebin + +```bash +find . -type f -name '*.js' -print | pb -f +``` + +Upload a list of javascript files to the pastebin individually + +```bash +pb -s http://0x0.st scores.txt +``` + +Upload a file to a different pastebin endpoint + ### Options ```bash - -h Show help - -v Show current version number -f Explicitly interpret stdin as filename -s server_address Use alternative pastebin server address + -v Show current version number + -h Show help ``` ### Install