mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
Accept --cli in CLI only builds for compatibility
This commit is contained in:
1 parent
006518db3d
commit
71240fb719
1 file changed
+2
-2
+2
-2
@@ -57,8 +57,8 @@ static struct option longopts[] = {
|
||||
#endif
|
||||
#ifdef TUI
|
||||
{"tui", no_argument, NULL, 't'},
|
||||
{"cli", no_argument, NULL, palerain_option_case_cli},
|
||||
#endif
|
||||
{"cli", no_argument, NULL, palerain_option_case_cli},
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
@@ -313,10 +313,10 @@ int optparse(int argc, char* argv[]) {
|
||||
case 't':
|
||||
palerain_flags |= palerain_option_tui;
|
||||
break;
|
||||
#endif
|
||||
case palerain_option_case_cli:
|
||||
palerain_flags |= palerain_option_cli;
|
||||
break;
|
||||
#endif
|
||||
#ifdef DEV_BUILD
|
||||
case '1':
|
||||
palerain_flags |= palerain_option_test1;
|
||||
|
||||
Reference in new issue
Block a user