From 5443c12367614ea3c9e32db516b533cd65cd3de2 Mon Sep 17 00:00:00 2001 From: Pridon Tetradze Date: Sat, 20 Jul 2024 01:05:46 +0400 Subject: fix: typo in documentation (#14) --- README.md | 2 +- src/util/logger.ts | 2 +- 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 - `` - Find country information by name. - `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", -- cgit v1.2.3