Skip to content

Commit

Permalink
libvncserver: make usage display more discoverable
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Mar 7, 2024
1 parent 9d05542 commit dac323e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvncserver/cargs.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
if(!argc) return TRUE;

for (i = i1 = 1; i < *argc;) {
if (strcmp(argv[i], "-help") == 0) {
if (strcmp(argv[i], "-help") == 0 || strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) {
rfbUsage();
return FALSE;
} else if (strcmp(argv[i], "-rfbport") == 0) { /* -rfbport port */
Expand Down

0 comments on commit dac323e

Please sign in to comment.