aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPridon Tetradze <[email protected]>2024-07-20 01:05:46 +0400
committerGitHub <[email protected]>2024-07-20 01:05:46 +0400
commit5443c12367614ea3c9e32db516b533cd65cd3de2 (patch)
treefc9f0499c260a195a058864a882acd118bc01dba
parent8c0f89c076ef014e49982fc5196215f695c6879b (diff)
downloadcountryfetch-5443c12367614ea3c9e32db516b533cd65cd3de2.tar.xz
countryfetch-5443c12367614ea3c9e32db516b533cd65cd3de2.zip
fix: typo in documentation (#14)HEADmaster
-rw-r--r--README.md2
-rw-r--r--src/util/logger.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0aecebc..0060689 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ countryfetch <arguments>
- `<country_name>` - Find country information by name.
- `capital <capital>` - Find country to which the specified capital belongs.
- `sync` - Fetches data from API and stores it in `~/.cache/countryfetch/countries.json`. This is done automatically, but can be triggered manually.
- Pass additional argument `sync flag` to fetch and convert flags in ASCII art.
+ Pass additional argument `sync flags` to fetch and convert flags in ASCII art.
After syncing flags, every countryfetch command will display flag ASCII art.
- `random` - Get random country information.
- `raw` - Print country information in raw format as JavaScript object.
diff --git a/src/util/logger.ts b/src/util/logger.ts
index 34de473..ebf4ad1 100644
--- a/src/util/logger.ts
+++ b/src/util/logger.ts
@@ -75,7 +75,7 @@ export class Logger {
"\nARGS:\n",
"\tsync",
"\n\t\tSynchronize database. Stores countries' data in ~/.cache/countryfetch/countries.json.",
- "\n\t\tPass additional argument 'sync flag' to fetch and convert flags in ASCII art.",
+ "\n\t\tPass additional argument 'sync flags' to fetch and convert flags in ASCII art.",
"\n\t\tAfter syncing flags, every countryfetch command will display flag ASCII art.",
"\n",
"\n\trandom",