Skip to content

Commit

Permalink
added argument. pastebin.pl [is private] [time (N, 10M[inutes], 1H, 1…
Browse files Browse the repository at this point in the history
…D, 1M[onths]) - all hardcoded in

to pastebin api
  • Loading branch information
liamzdenek committed Dec 22, 2011
1 parent 999275e commit 4243fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pastebin.pl
Expand Up @@ -13,6 +13,7 @@
api_paste_private => (shift @ARGV // 1), # unless otherwise defined, private paste
#api_username => '',
#api_user_password => '',
api_paste_expire_date => (shift @ARGV // "1M"), #unless otherwise defined, expire after 1 month
api_paste_code => uri_escape(join '', <STDIN>),
);

Expand Down

0 comments on commit 4243fe7

Please sign in to comment.