Ditto 7730b13e5a
This commit is contained in:
parent
52b74144ee
commit
abe74f869f
|
@ -1871,7 +1871,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
bool color = false;
|
bool color = false;
|
||||||
while(1) {
|
while(1) {
|
||||||
int flag = 0;
|
static int flag = 0;
|
||||||
static option long_options[] = {
|
static option long_options[] = {
|
||||||
{"verbose", no_argument, nullptr, 'v'},
|
{"verbose", no_argument, nullptr, 'v'},
|
||||||
{"null-out", no_argument, nullptr, 'n'},
|
{"null-out", no_argument, nullptr, 'n'},
|
||||||
|
|
|
@ -144,7 +144,7 @@ int main(int argc, char **argv)
|
||||||
Config config;
|
Config config;
|
||||||
bool color = false;
|
bool color = false;
|
||||||
while(1) {
|
while(1) {
|
||||||
int flag = 0;
|
static int flag = 0;
|
||||||
static option long_options[] = {
|
static option long_options[] = {
|
||||||
{"daemon", no_argument, nullptr, 'D'},
|
{"daemon", no_argument, nullptr, 'D'},
|
||||||
{"htdocs", required_argument, nullptr, 'd'},
|
{"htdocs", required_argument, nullptr, 'd'},
|
||||||
|
|
|
@ -811,7 +811,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
std::vector<std::pair<const char*, const char*> > cmdcfgs;
|
std::vector<std::pair<const char*, const char*> > cmdcfgs;
|
||||||
while(1) {
|
while(1) {
|
||||||
int flag = 0;
|
static int flag = 0;
|
||||||
static option long_options[] = {
|
static option long_options[] = {
|
||||||
{"daemon", no_argument, nullptr, 'D'},
|
{"daemon", no_argument, nullptr, 'D'},
|
||||||
{"log-level", required_argument, nullptr, 'L'},
|
{"log-level", required_argument, nullptr, 'L'},
|
||||||
|
|
Loading…
Reference in New Issue