Skip to content

Commit

Permalink
Improving the help message
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Nov 15, 2006
1 parent 192de8f commit bb3adfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import urllib, os, sys
try:
filename=sys.argv[1]
except:
sys.exit("usage:\n command | "+sys.argv[0]+" - [pastebin URL]\n "+sys.argv[0]+" file [pastebin URL]\n\n Default pastebin : http://ubuntu.pastebin.com")

sys.exit("usage: "+sys.argv[0]+" [filename|\"-\"]"+"\n\nDefault pastebin: http://ubuntu.pastebin.com")
try:
website=sys.argv[2]
except:
Expand Down

0 comments on commit bb3adfa

Please sign in to comment.