From 3900c935b11fc319571a5d0bc97576dd110a3b56 Mon Sep 17 00:00:00 2001 From: Nathan Bullock Date: Fri, 19 Apr 2024 10:22:07 -0700 Subject: [PATCH] Update documentation for deprecated features Guide the user to the commands that have replaced --original-photos and --original-videos. --- README.md | 4 ++-- src/cli/options.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6713adb..90efd64 100644 --- a/README.md +++ b/README.md @@ -153,8 +153,8 @@ Misc options: --dry-run Update the index, but don't create the media files / website [boolean] [default: false] Deprecated: - --original-photos Copy and allow download of full-size photos [boolean] - --original-videos Copy and allow download of full-size videos [boolean] + --original-photos Copy and allow download of full-size photos (use --photo-download=copy) [boolean] + --original-videos Copy and allow download of full-size videos (use --video-download=copy) [boolean] --albums-date-format How albums are named in mode [moment.js pattern] --css Path to a custom provided CSS/LESS file for styling [string] --download-photos Target of the photo download links [choices: "large", "copy", "symlink", "link"] diff --git a/src/cli/options.js b/src/cli/options.js index 1ec8d26..96a0fae 100644 --- a/src/cli/options.js +++ b/src/cli/options.js @@ -406,12 +406,12 @@ const OPTIONS = { 'original-photos': { group: 'Deprecated:', - description: 'Copy and allow download of full-size photos', + description: 'Copy and allow download of full-size photos (use --photo-download=copy)', type: 'boolean' }, 'original-videos': { group: 'Deprecated:', - description: 'Copy and allow download of full-size videos', + description: 'Copy and allow download of full-size videos (use --video-download=copy)', type: 'boolean' }, 'albums-date-format': {