1 files changed, 4 insertions(+), 3 deletions(-)

M dpaste.sh
M dpaste.sh +4 -3
@@ 3,8 3,8 @@ 
 # Usage info
 show_help() {
 cat << HELP
-Usage: ${0#*/} [-h] [-s SYNTAX] [-t TITLE] [-p POSTER] [-e EXPIRY]
-Send stdin to dpaste.com, optionally with syntax/title/poster/expiry specified.
+Usage: $(basename $0) [-h] [-s SYNTAX] [-t TITLE] [-p POSTER] [-e EXPIRY]
+Send stdin to dpaste.com, optionally setting syntax/title/poster/expiry.
 Resulting item will be opened in your browser.
 HELP
 }

          
@@ 39,7 39,8 @@ echo "Paste your content now, ^D to subm
 
 # make the API call
 url=$(curl -s -F "content=<-" $params http://dpaste.com/api/v2/)
-echo -e "---\n$url"
+echo "---"
+echo $url
 
 # open in browser
 if [ -x "$(command -v xdg-open)" ];