From e5f48b92b303afc75646878d80ded06d1d109999 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 22 Jun 2012 15:27:39 +0000 Subject: [PATCH] change gm option from -config to --config, to match the double-dash convention of all of its other options. Review URL: https://codereview.appspot.com/6337044 git-svn-id: http://skia.googlecode.com/svn/trunk@4307 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/gmmain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 877d0af..0c31975 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -717,7 +717,7 @@ static const ConfigData gRec[] = { static void usage(const char * argv0) { SkDebugf("%s\n", argv0); SkDebugf(" [-w writePath] [-r readPath] [-d diffPath] [-i resourcePath]\n"); - SkDebugf(" [-config "); + SkDebugf(" [--config "); for (size_t i = 0; i < SK_ARRAY_COUNT(gRec); ++i) { if (i > 0) { SkDebugf("|"); @@ -890,7 +890,7 @@ int main(int argc, char * const argv[]) { } } else if (strcmp(*argv, "--notexturecache") == 0) { disableTextureCache = true; - } else if (strcmp(*argv, "-config") == 0) { + } else if (strcmp(*argv, "--config") == 0) { argv++; if (argv < stop) { int index = findConfig(*argv); @@ -905,7 +905,7 @@ int main(int argc, char * const argv[]) { return -1; } } else { - SkDebugf("missing arg for -config\n"); + SkDebugf("missing arg for --config\n"); usage(commandName); return -1; } -- 2.7.4