From 4d65d0acef4960af1414d662f03b311c3fd25fee Mon Sep 17 00:00:00 2001 From: rosalina Date: Sat, 13 Jan 2024 02:34:43 -0500 Subject: [PATCH] simplify cli arguments to just nxapi-presence and add to readme --- README.md | 1 + s3si.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89a324a..ba4d47a 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Options: ("vs", "coop") --with-summary Include summary in the output --help Show this help message and exit + --nxapi-presence Extends monitoring mode to use Nintendo Switch presence from nxapi ``` 3. If it's your first time running this, follow the instructions to login to diff --git a/s3si.ts b/s3si.ts index 186c94e..f4d3620 100644 --- a/s3si.ts +++ b/s3si.ts @@ -15,7 +15,7 @@ const parseArgs = (args: string[]) => { "skipMode": ["s", "skip-mode"], "withSummary": "with-summary", "listMethod": "list-method", - "nxapiPresenceUrl": ["nxapi-presence-url", "nxapi-presence"] + "nxapiPresenceUrl": ["nxapi-presence"] }, }); return parsed; @@ -41,7 +41,7 @@ Options: ("vs", "coop") --with-summary Include summary in the output --help Show this help message and exit - --nxapi-presence-url Extends monitoring mode to use Nintendo Switch presence from nxapi`, + --nxapi-presence Extends monitoring mode to use Nintendo Switch presence from nxapi`, ); Deno.exit(0); }