Skip to content

Commit

Permalink
Update the manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Dec 27, 2006
1 parent d8c7185 commit cd39fcc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pastebinit (0.6-0ubuntu1) feisty; urgency=low
- fix a bug with paste.ubuntu-nl.org
- add support of regexp

-- Stéphane Graber <stgraber@stgraber.org> Tue, 28 Nov 2006 19:32:40 +0100
-- Stéphane Graber <stgraber@stgraber.org> Thu, 07 Dec 2006 20:58:31 +0100

pastebinit (0.5-0ubuntu1) feisty; urgency=low
* Initial release
Expand Down
8 changes: 4 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: A command line pastebin client
This tools can send the result of a command or
a file passed as argument directly to a pastebin.
Actually supported Pastebins :
-http://paste.stgraber.org
-http://paste.ubuntu-nl.org
-http://pastebin.com
-http://pastebin.ca
http://paste.stgraber.org
http://paste.ubuntu-nl.org
http://pastebin.com
http://pastebin.ca
11 changes: 10 additions & 1 deletion pastebinit
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import urllib, os, sys, re
defaultPB="http://paste.stgraber.org" #Default pastebin
version="0.6" #Version number to show in the usage
version="0.7" #Version number to show in the usage

#Return the parameters depending of the pastebin used
def getParameters(website,content,user,version):
Expand Down Expand Up @@ -50,6 +50,15 @@ def getParameters(website,content,user,version):
params['remember']="0" #Do you want a cookie ?
params['expiry']="f" #The expiration, f = forever
params['regexp']="None"
elif website == "http://pastebin.com":
params['poster']=user
params['code2']=content
params['parent_pid']="" #For reply, "" means homepage (new thread)
params['format']="text" #The format, for syntax hilighting
params['paste']="Send"
params['remember']="0" #Do you want a cookie ?
params['expiry']="f" #The expiration, f = forever
params['regexp']="None"
elif website == "http://pastebin.ca":
params['name']=user
params['content']=content
Expand Down
4 changes: 3 additions & 1 deletion pastebinit.1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ http://paste.stgraber.org
.RE
http://*.pastebin.com
.RE
http://pastebin.ca
.RE
http://paste.ubuntu-nl.org
.SH BUGS
.RS
Expand All @@ -36,7 +38,7 @@ https://bugs.launchpad.net/products/pastebinit/+bugs
.SH AUTHORS
.RS
.RE
Pastebinit is currently written by Stsphane Graber.
Pastebinit is currently written by Stephane Graber.
.RE
Website : http://www.stgraber.org/?cat=5
.RE
Expand Down

0 comments on commit cd39fcc

Please sign in to comment.