From 0301399d4006caf80c408f9dfac6c24350292ca3 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 26 May 2017 09:24:31 +0200 Subject: [PATCH] svg2png - add short program options. --- utils/svg2png/svg2png.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/svg2png/svg2png.cpp b/utils/svg2png/svg2png.cpp index 44a84e33d..3faff4c6c 100644 --- a/utils/svg2png/svg2png.cpp +++ b/utils/svg2png/svg2png.cpp @@ -128,7 +128,7 @@ struct main_marker_visitor template int operator() (T const&) const { - std::clog << "svg2png error: '" << svg_name_ << "' is not a valid vector!\n"; + std::clog << "svg2png error: failed to process '" << svg_name_ << "'\n"; return -1; } @@ -156,8 +156,8 @@ int main (int argc,char** argv) ("help,h", "produce usage message") ("version,V","print version string") ("verbose,v","verbose output") - ("open","automatically open the file after rendering (os x only)") - ("strict","enables strict SVG parsing") + ("open,o","automatically open the file after rendering (os x only)") + ("strict,s","enables strict SVG parsing") ("svg",po::value >(),"svg file to read") ;