summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/CommandLine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/CommandLine.hpp')
-rw-r--r--dviware/dvisvgm/src/CommandLine.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dviware/dvisvgm/src/CommandLine.hpp b/dviware/dvisvgm/src/CommandLine.hpp
index 72edde3ee1..d4f0745219 100644
--- a/dviware/dvisvgm/src/CommandLine.hpp
+++ b/dviware/dvisvgm/src/CommandLine.hpp
@@ -35,6 +35,7 @@ class CommandLine : public CL::CommandLine {
Option colorOpt {"color", '\0', "colorize messages"};
Option colornamesOpt {"colornames", '\0', "prefer color names to RGB values if possible"};
Option commentsOpt {"comments", '\0', "add comments with additional information"};
+ TypedOption<std::string, Option::ArgMode::OPTIONAL> currentcolorOpt {"currentcolor", '\0', "color", "#000", "replace given color with 'currentColor'"};
Option debugGlyphsOpt {"debug-glyphs", '\0', "create PS files for all glyphs converted to TTF"};
Option embedBitmapsOpt {"embed-bitmaps", '\0', "prevent references to external bitmap files"};
Option epsOpt {"eps", 'E', "convert EPS file to SVG"};
@@ -108,6 +109,7 @@ class CommandLine : public CL::CommandLine {
#endif
{&colornamesOpt, 1},
{&commentsOpt, 1},
+ {&currentcolorOpt, 1},
{&embedBitmapsOpt, 1},
#if !defined(DISABLE_WOFF)
{&fontFormatOpt, 1},