mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
corrected short options for getopt.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@267 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
f5616f1437
commit
e0af7acf4f
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ unsigned int loaderOptions(int argc, char **argv) {
|
||||||
{ NULL, 0, NULL, 0 }
|
{ 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) {
|
switch (ch) {
|
||||||
case 'h':
|
case 'h':
|
||||||
loaderUsage();
|
loaderUsage();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue