This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-30 22:44:51 +09:00
parent 52b74144ee
commit abe74f869f
3 changed files with 3 additions and 3 deletions

View File

@ -1871,7 +1871,7 @@ int main(int argc, char **argv)
{
bool color = false;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"verbose", no_argument, nullptr, 'v'},
{"null-out", no_argument, nullptr, 'n'},

View File

@ -144,7 +144,7 @@ int main(int argc, char **argv)
Config config;
bool color = false;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"daemon", no_argument, nullptr, 'D'},
{"htdocs", required_argument, nullptr, 'd'},

View File

@ -811,7 +811,7 @@ int main(int argc, char **argv)
std::vector<std::pair<const char*, const char*> > cmdcfgs;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"daemon", no_argument, nullptr, 'D'},
{"log-level", required_argument, nullptr, 'L'},