mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-15 03:42:03 +02:00
exit_with_usage() return 1 in error case only
"screen -h|--help" should NOT return 1
This commit is contained in:
@@ -111,8 +111,9 @@ void exit_with_usage(char *myname, char *message, char *arg)
|
||||
printf("\nError: ");
|
||||
printf(message, arg);
|
||||
printf("\n");
|
||||
exit(1);
|
||||
}
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/* Here come the help page routines */
|
||||
|
||||
Reference in New Issue
Block a user