more --nodaemon aliases

This commit is contained in:
jsorg71 2006-10-10 03:22:49 +00:00
parent 8cf3c7eaaa
commit 73c9d2f755
1 changed files with 5 additions and 1 deletions

View File

@ -456,7 +456,11 @@ main(int argc, char** argv)
g_exit(0);
}
else if (g_strncasecmp(argv[1], "-nodaemon", 255) == 0 ||
g_strncasecmp(argv[1], "--nodaemon", 255) == 0)
g_strncasecmp(argv[1], "--nodaemon", 255) == 0 ||
g_strncasecmp(argv[1], "-nd", 255) == 0 ||
g_strncasecmp(argv[1], "--nd", 255) == 0 ||
g_strncasecmp(argv[1], "-ns", 255) == 0 ||
g_strncasecmp(argv[1], "--ns", 255) == 0)
{
no_daemon = 1;
}