From 858a4ed2b5f9e2d0d7ca8c72f4c088e668f32dc9 Mon Sep 17 00:00:00 2001 From: A1ive <10670106+a1ive@users.noreply.github.com> Date: Wed, 19 Jun 2024 23:16:54 +0900 Subject: [PATCH] Update nwinfo.c --- nwinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nwinfo.c b/nwinfo.c index 5828feec..f5cb5376 100644 --- a/nwinfo.c +++ b/nwinfo.c @@ -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[]) @@ -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;