diff --git a/docs/SETUP.md b/docs/SETUP.md index 8ef5b03..0ca1e25 100644 --- a/docs/SETUP.md +++ b/docs/SETUP.md @@ -6,7 +6,7 @@ Options: --create-user=NAME Create a new user with the given name --list-users List all users --delete-user=USER_ID Delete a user by ID - --update-data Download all required data files + --update-parsers Download all required data files ``` ## Run It Anywhere diff --git a/scripts/cli.cr b/scripts/cli.cr index 519b07e..f49d0bc 100644 --- a/scripts/cli.cr +++ b/scripts/cli.cr @@ -18,11 +18,11 @@ OptionParser.parse do |parser| exit end - parser.on("--update-data", "Download all required data files (UA Parser and GeoLite2)") do + parser.on("--update-parsers", "Download UA regexes and/or GeoLite2 database") do puts "=== Starting data files update ===" App::Services::Cli.update_uap_regexes App::Services::Cli.download_geolite_db - puts "=== All data files updated successfully ===" + puts "=== Data files updated successfully ===" exit end @@ -32,6 +32,6 @@ OptionParser.parse do |parser| puts " --create-user=NAME Create a new user with the given name" puts " --list-users List all users" puts " --delete-user=USER_ID Delete a user by ID" - puts " --update-data Download all required data files" + puts " --update-parsers Download all required data files" end end