check for --resourcePath in addition to -i to match the --help string

git-svn-id: http://skia.googlecode.com/svn/trunk@11186 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index a5338d0..f303794 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -769,7 +769,7 @@
     const char* const commandName = argv[0];
     char* const* stop = argv + argc;
     for (++argv; argv < stop; ++argv) {
-        if (strcmp(*argv, "-i") == 0) {
+        if (!strcmp(*argv, "-i") || !strcmp(*argv, "--resourcePath")) {
             argv++;
             if (argv < stop && **argv) {
                 resourcePath = *argv;