]> Sergey Matveev's repositories - uploader.git/blobdiff - main.go
Update dependencies
[uploader.git] / main.go
diff --git a/main.go b/main.go
index 3363fce2415d1c475e2857cd0f84d0446c68cb82..a4b0449bd2eac4684b73d844760393e59840d2ef 100644 (file)
--- a/main.go
+++ b/main.go
@@ -1,6 +1,6 @@
 /*
 uploader -- simplest form file uploader
-Copyright (C) 2018-2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2018-2020 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -50,6 +50,11 @@ const (
 var (
        Index = template.Must(template.New("index").Parse(`<html>
 <head><title>Upload</title></head><body>
+<pre>
+Example command line usage:
+  curl -F fileupload=@somedata.tar.gpg [-F comment="optional comment"] http://.../upload/
+  b2sum -a blake2b somedata.tar.gpg
+</pre>
 <form enctype="multipart/form-data" action="/upload/" method="post">
 <input type="file" name="{{.}}" /><br/>
 <label for="comment">Optional comment:</label>