summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfb23
1 files changed, 13 insertions, 10 deletions
diff --git a/fb b/fb
index cf21b5b..f98ee07 100755
--- a/fb
+++ b/fb
@@ -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
}