Rename ostinato option -s to -c (controller only)

This commit is contained in:
Srivats P 2017-12-07 19:03:28 +05:30
parent 92d4c260a0
commit 847af21c43

View File

@ -31,10 +31,10 @@ int Params::parseCommandLine(int argc, char* argv[])
int c, n = 0; int c, n = 0;
opterr = 0; opterr = 0;
while ((c = getopt (argc, argv, "s")) != -1) { while ((c = getopt (argc, argv, "c")) != -1) {
switch (c) switch (c)
{ {
case 's': case 'c':
localDrone_ = false; localDrone_ = false;
break; break;
default: default: