Mercurial > imgup
view imgup.1.in @ 23:f19f5f9fee56
misc: update copyright years
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 12 Apr 2021 20:29:53 +0200 |
parents | 1146d3709a12 |
children | b74c1f165e51 |
line wrap: on
line source
.\" .\" Copyright (c) 2020-2021 David Demelier <markand@malikania.fr> .\" .\" Permission to use, copy, modify, and/or distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd 25 November, 2020 .Dt IMGUP 1 .Os .\" NAME .Sh NAME .Nm imgup .Nd simple image hosting service client .\" SYNOPSIS .Sh SYNOPSIS .Nm .Op Fl Dpv .Op Fl a Ar author .Op Fl d Ar duration .Op Fl t Ar title .Ar filename .Ar host .\" DESCRIPTION .Sh DESCRIPTION The .Nm tool is the convenient brother to .Nm imgupd , it will upload an image into an instance. .Pp The .Ar filename argument must point to an image and the .Ar host argument is a URL where a .Nm imgupd instance is running. .Pp Available options: .Bl -tag -width Ds .It Fl D List all supported durations. .It Fl p Store the image as public (default is private). .It Fl v Be more verbose. .It Fl a Ar author Sets the author, defaults to .Dq Anonymous . .It Fl d Ar duration Sets the paste lifetime, defaults to .Dq "day" . .It Fl t Ar title Sets a title to the paste, defaults to .Dq "Untitled" . .El .\" EXAMPLES .Sh EXAMPLES .Ss Upload the image background.png with a title and an author. .Bd -literal -offset imgup -t "Nice background" -a Francis background.png http://example.org .Ed .Ss Paste a short duration image. .Bd -literal -offset imgup -p -d hour secret.png http://example.org .Ed .\" AUTHORS .Sh AUTHORS .Nm was written by David Demelier <markand@malikania.fr> .\" SEE ALSO .Sh SEE ALSO .Xr imgupd 8