From 9124b257de14af7a45287b8c815e8436e15514e9 Mon Sep 17 00:00:00 2001 From: Francesco Bigiarini Date: Wed, 20 Nov 2024 22:45:12 +0100 Subject: [PATCH] Fix: typo --- .../playground/data-liberation/bin/import/import-wxr.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/playground/data-liberation/bin/import/import-wxr.sh b/packages/playground/data-liberation/bin/import/import-wxr.sh index fece425b68..49cedceebd 100644 --- a/packages/playground/data-liberation/bin/import/import-wxr.sh +++ b/packages/playground/data-liberation/bin/import/import-wxr.sh @@ -1,14 +1,14 @@ #!/bin/bash # -# A script that accepts a WXR XML file and imports it into a WordPress site +# A script that accepts a folder and imports all WXR files into a WordPress site # # Usage: -# ./import-wxr.sh +# ./import-wxr.sh # # Display help message show_help() { - echo "Usage: $0 [-h|--help] " + echo "Usage: $0 [-h|--help] " echo "Options:" echo " -h, --help Show this help message" } @@ -43,6 +43,6 @@ if [ -d "$1" ]; then --mount=$1:/wordpress/wp-content/uploads/import-wxr \ --blueprint=./blueprint-import-wxr.json else - echo "Error: File '$1' does not exist" + echo "Error: Folder '$1' does not exist" exit 1 fi