Skip to content

Commit

Permalink
Update nwinfo.c
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive committed Jun 19, 2024
1 parent 8ebe196 commit 858a4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nwinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static void nwinfo_help(void)
" --uefi Print UEFI info.\n"
" --shares Print network mapped drives.\n"
" --audio Print audio devices.\n"
" --publicip Print public IP address.\n");
" --public-ip Print public IP address.\n"
}

int main(int argc, char* argv[])
Expand Down Expand Up @@ -140,7 +140,7 @@ int main(int argc, char* argv[])
nwContext.ShareInfo = TRUE;
else if (_stricmp(argv[i], "--audio") == 0)
nwContext.AudioInfo = TRUE;
else if (_stricmp(argv[i], "--publicip") == 0)
else if (_stricmp(argv[i], "--public-ip") == 0)
nwContext.PublicIpInfo = TRUE;
else if (_stricmp(argv[i], "--debug") == 0)
nwContext.Debug = TRUE;
Expand Down

0 comments on commit 858a4ed

Please sign in to comment.