diff options
| author | Pridon Tetradze <[email protected]> | 2024-07-20 01:05:46 +0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-20 01:05:46 +0400 |
| commit | 5443c12367614ea3c9e32db516b533cd65cd3de2 (patch) | |
| tree | fc9f0499c260a195a058864a882acd118bc01dba | |
| parent | 8c0f89c076ef014e49982fc5196215f695c6879b (diff) | |
| download | countryfetch-5443c12367614ea3c9e32db516b533cd65cd3de2.tar.xz countryfetch-5443c12367614ea3c9e32db516b533cd65cd3de2.zip | |
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/util/logger.ts | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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", |
