summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-28Add --xcut. Make sure add_to_clipboard() and get_from_clipboard() are used ↵Bo Ørsted Andresen
if defined by the user. Otherwise print instructions to define it when --xcut is used.
2007-02-28Generalize further with the introduction of get_url(). Warn if the input for ↵Bo Ørsted Andresen
rafb is more than 512 kb since that other results in failure.
2007-02-28Allow users to set their own default values for nick, service and language ↵Bo Ørsted Andresen
in /etc/wgetpaste and/or ~/.wgetpaste.
2007-02-28Generalize a bit by detecting the toofast.html from rafb from verify_url().Bo Ørsted Andresen
2007-02-28Add --list-languages. Verify that a specified language is valid. Fix a ↵Bo Ørsted Andresen
couple of escaping bugs.
2007-02-28Add support for multiple pastebin services. Add the sh service.Bo Ørsted Andresen
2007-02-28Abort if there is nothing to paste.Bo Ørsted Andresen
2007-02-28Add --verbose for more diagnosticing when a paste fails. Fix an error message.Bo Ørsted Andresen
2007-02-28Use --post-file instead of --post-data. This requires a temporary file but ↵Bo Ørsted Andresen
increases reliability for large pastes.
2007-02-28Restructure where defaults are set.Bo Ørsted Andresen
2007-02-28Switch from getopts to manual options parsing. The only drawback is that ↵Bo Ørsted Andresen
short options can no longer be grouped. Since almost all parameters requires a parameter that isn't really that important. Also change some parameter names.
2007-02-28Add some error handling.Bo Ørsted Andresen
2007-02-27Initial import. Version 1.Bo Ørsted Andresen