Skip to content

Commit 7cd48ce

Browse files
committed
adds documentation for -force and -noalpha parameters
issue ampas#27
1 parent 020599d commit 7cd48ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ctlrender/usage.cc

+10
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ void usage(const char *section) {
8383
" option must be used.\n"
8484
" See below for details on the '-format' option.\n"
8585
"\n"
86+
" If the destination file already exists, ctlrender \n"
87+
" will refuse to overwrite the file unless the\n"
88+
" -force parameter is supplied.\n"
89+
"\n"
8690
" -input_scale <value> Specifies a scaling value for the input.\n"
8791
" Details on this are provided with '-help scale'.\n"
8892
"\n"
@@ -108,6 +112,12 @@ void usage(const char *section) {
108112
" -param2 ... Details on this and similar options are provided\n"
109113
" -param3 ... with '-help param'\n"
110114
"\n"
115+
" -noalpha Specifies that <source_file> does not contain an \n"
116+
" alpha channel.\n"
117+
"\n"
118+
" -force Allows overwriting of the destination file, if\n"
119+
" the destination file already exists.\n"
120+
"\n"
111121
" -verbose Increases the level of output verbosity.\n"
112122
" -quiet Decreases the level of output verbosity.\n"
113123
"\n"

0 commit comments

Comments
 (0)