diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-22 15:27:39 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-22 15:27:39 +0000 |
commit | e5f48b92b303afc75646878d80ded06d1d109999 (patch) | |
tree | b20cdbc8c617d50aa465433468bb3bff44744b32 /gm | |
parent | 07fc0d178e20f74a88dd78384f817b53204e625f (diff) |
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
Diffstat (limited to 'gm')
-rw-r--r-- | gm/gmmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 877d0afa56..0c31975a8d 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; } |