diff options
Diffstat (limited to 'fb')
-rwxr-xr-x | fb | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -40,16 +40,19 @@ read_stdin() { } help() { - echo "fb-client version $VERSION" - echo "usage: [cat |] $(basename "$0") [switches] [file(s)|ID(s)]" - echo " Upload/nopaste file(s)/stdin to paste.xinu.at and copy URL(s) to clipboard." - echo " ~/.netrc: machine paste.xinu.at password PASSWORD" - echo "" - echo "Switches:" - echo " -e EXTENSION extension for default highlighting (e.g. \"diff\")" - echo " -d delete the IDs" - echo " -g download the IDs and output on stdout (use with care!)" - echo " -h this help" + cat <<EOF +fb-client version $VERSION +usage: [cat |] `basename "$0"` [switches] [file(s)|ID(s)] + + Upload/nopaste file(s)/stdin to paste.xinu.at and copy URL(s) to clipboard. + ~/.netrc: machine paste.xinu.at password PASSWORD + + Switches: + -e EXTENSION extension for default highlighting (e.g. "diff") + -d delete the IDs + -g download the IDs and output on stdout (use with care!) + -h this help +EOF exit 0 } |