mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-10 01:12:06 +02:00
exit_with_usage() returns 1 only in case of error
"screen -h|--help" should NOT return 1
Sync with screen-v4: 7908c33f73
This commit is contained in:
@@ -269,8 +269,9 @@ static void exit_with_usage(char *myname, char *message, char *arg)
|
||||
printf("\nError: ");
|
||||
printf(message, arg);
|
||||
printf("\n");
|
||||
exit(1);
|
||||
}
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
||||
Reference in New Issue
Block a user