summaryrefslogtreecommitdiffstats
path: root/application/views/file_plaintext/client.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-05 15:11:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:47:27 +0200
commitb256550f2b2640d4ff507d5c759251bac538bbd9 (patch)
tree2b5653550dacd50aec4b9330447b25820ca0b11d /application/views/file_plaintext/client.php
parent0ad020ddfb5523745cfddff8318f517d52d63635 (diff)
improve start page for cli clients
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file_plaintext/client.php')
-rw-r--r--application/views/file_plaintext/client.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/application/views/file_plaintext/client.php b/application/views/file_plaintext/client.php
index 310d82f3f..86e6e1391 100644
--- a/application/views/file_plaintext/client.php
+++ b/application/views/file_plaintext/client.php
@@ -1,12 +1,13 @@
-Shell:
- curl -n -F "file=@/home/user/foo" <?php echo site_url(); ?> (binary safe)
- cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url(); ?> (binary safe)
+Shell (binary safe):
+ curl -n -F "file=@/home/user/foo" <?php echo site_url()."\n"; ?>
+ cat file | curl -n -F "file=@-;filename=stdin" <?php echo site_url()."\n"; ?>
Client:
Development (git): http://git.server-speed.net/users/flo/fb
Latest release: <?php echo $client_link."\n"; ?>
GPG sigs, older versions: <?php echo $client_link_dir."\n"; ?>
-If you want to use authentication (needed for deleting) add the following to your ~/.netrc:
+If you want to use authentication (needed for deleting) add the following
+to your ~/.netrc:
machine paste.xinu.at password my_secret_password