From 4f5ecc1427ed6c83f23ea90ee6da75ce0c332f7a Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Sat, 25 Sep 2021 17:11:16 -0400 Subject: [PATCH] fix(docs): stop advertising .argv property (#2036) Refs #2035 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8a95beae8..292772155 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ yargs(hideBin(process.argv)) type: 'boolean', description: 'Run with verbose logging' }) - .argv + .parse() ``` Run the example above with `--help` to see the help for the application. @@ -138,7 +138,7 @@ yargs(Deno.args) }) .strictCommands() .demandCommand(1) - .argv + .parse() ``` ### ESM @@ -154,7 +154,7 @@ yargs(hideBin(process.argv)) console.info(argv) }) .demandCommand(1) - .argv + .parse() ``` ### Usage in Browser