Mercurial > genwebgallery
comparison genwebgallery.1 @ 6:cb0dff8c48c6
added option --overwrite; refactored checkCreateDir; fixed HTML output; introduced exit code 3 and 4; better help output
author | meillo@marmaro.de |
---|---|
date | Fri, 23 Nov 2007 22:43:41 +0100 |
parents | 737fe869e278 |
children | 27f96c3b8224 |
comparison
equal
deleted
inserted
replaced
5:a963f51cfd80 | 6:cb0dff8c48c6 |
---|---|
2 | 2 |
3 .SH NAME | 3 .SH NAME |
4 genwebgallery | 4 genwebgallery |
5 | 5 |
6 .SH SYNOPSIS | 6 .SH SYNOPSIS |
7 .B genwebgallery [OPTIONS] FILES | 7 .B genwebgallery [OPTIONS] PICTURES |
8 | 8 |
9 .SH DESCRIPTION | 9 .SH DESCRIPTION |
10 .B genwebgallery | 10 .B genwebgallery |
11 generates a web gallery of mentioned pictures. | 11 Generates a web gallery of mentioned pictures. Only very minimalistic static HTML pages are generated. Copies of the pictures get resized to the defined sizes. |
12 .PP | 12 .PP |
13 Only static HTML pages are generated. | 13 All generated content goes in a subdirectory which defaults to 'webgallery'. Or any other directory specified by --output. |
14 .PP | 14 .PP |
15 The | 15 The |
16 .BR convert | 16 .BR convert |
17 tool from ImageMagick is required. | 17 tool from ImageMagick is required. |
18 | 18 |
19 .SH OPTIONS | 19 .SH OPTIONS |
20 .B genwebgallery | |
21 .TP | 20 .TP |
22 .B \-\-help | 21 .B \-\-help |
23 Show summary of options. | 22 Show summary of options. |
24 .TP | 23 .TP |
25 .B \-\-version | 24 .B \-\-version |
43 .B \-ps, \-\-pic-size | 42 .B \-ps, \-\-pic-size |
44 Specify size of picture | 43 Specify size of picture |
45 .TP | 44 .TP |
46 .B \-ts, \-\-thumb-size | 45 .B \-ts, \-\-thumb-size |
47 Specify size of thumbnails | 46 Specify size of thumbnails |
47 .TP | |
48 .B \-\-overwrite | |
49 Overwrites the output directory if it exists without asking. | |
50 Without this option, the users is interactively asked what to do. | |
51 .PP | |
52 See | |
53 .B genwebgallery --help | |
54 for default values. | |
48 | 55 |
49 .SH EXIT CODE | 56 .SH EXIT CODE |
50 .TP | 57 .TP |
51 .B 1 | 58 .B 1 |
52 Any other error | 59 Any other error |
54 .B 2 | 61 .B 2 |
55 The required program | 62 The required program |
56 .B convert | 63 .B convert |
57 could not be found. It's probably not installed. | 64 could not be found. It's probably not installed. |
58 Normally it is provided by the ImageMagick tool collection. | 65 Normally it is provided by the ImageMagick tool collection. |
66 .TP | |
67 .B 3 | |
68 The output directory already exists and the user wanted to keep it. | |
69 .TP | |
70 .B 4 | |
71 The output directory already exists and the user wanted it to be deleted, but it was not possible. | |
59 | 72 |
60 .SH SEE ALSO | 73 .SH SEE ALSO |
61 .BR convert (1), | 74 .BR convert (1), |
62 .BR ImageMagick (1). | 75 .BR ImageMagick (1). |
63 | 76 |
64 .SH AUTHOR | 77 .SH AUTHOR |
65 genwebgallery was written by markus schnalke <meillo@marmaro.de> | 78 genwebgallery and this man page was written by markus schnalke <meillo@marmaro.de> |
66 .PP | 79 .PP |
67 Website: http://prog.marmaro.de | 80 Website: http://prog.marmaro.de |