From e0af7acf4ff4bd7bac7586886eddd54de3d3bec7 Mon Sep 17 00:00:00 2001 From: "timecop@gmail.com" Date: Sat, 16 Feb 2013 11:16:53 +0000 Subject: [PATCH] corrected short options for getopt. git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@267 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61 --- support/stmloader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/stmloader/loader.c b/support/stmloader/loader.c index 90da60b4f..8a060fa25 100644 --- a/support/stmloader/loader.c +++ b/support/stmloader/loader.c @@ -62,7 +62,7 @@ unsigned int loaderOptions(int argc, char **argv) { { NULL, 0, NULL, 0 } }; - while ((ch = getopt_long(argc, argv, "hp:b:f:o", longopts, NULL)) != -1) + while ((ch = getopt_long(argc, argv, "hp:b:f:o:n", longopts, NULL)) != -1) switch (ch) { case 'h': loaderUsage();