diff --git a/src/seo/cli.py b/src/seo/cli.py index 588ca57..5a54ac4 100644 --- a/src/seo/cli.py +++ b/src/seo/cli.py @@ -78,7 +78,6 @@ Examples: parser.add_argument('--post-ids', type=int, nargs='+', help='Specific post IDs to update') parser.add_argument('--category', nargs='+', help='Filter by category name(s)') parser.add_argument('--category-id', type=int, nargs='+', help='Filter by category ID(s)') - parser.add_argument('--author-filter', nargs='+', dest='author_filter', help='Filter by author name(s)') parser.add_argument('--force', action='store_true', help='Force regenerate even for good quality meta descriptions') args = parser.parse_args() @@ -447,8 +446,8 @@ def cmd_update_meta(app, args): print(f" Post IDs: {args.post_ids}") if args.category: print(f" Categories: {args.category}") - if args.author_filter: - print(f" Authors: {args.author_filter}") + if args.author: + print(f" Authors: {args.author}") if args.limit: print(f" Limit: {args.limit} posts") return 0 @@ -463,8 +462,8 @@ def cmd_update_meta(app, args): print(f" Post IDs: {args.post_ids}") if args.category: print(f" Categories: {args.category}") - if args.author_filter: - print(f" Authors: {args.author_filter}") + if args.author: + print(f" Authors: {args.author}") if args.category_id: print(f" Category IDs: {args.category_id}") if args.limit: @@ -477,7 +476,7 @@ def cmd_update_meta(app, args): post_ids=args.post_ids, category_names=args.category, category_ids=args.category_id, - author_names=args.author_filter, + author_names=args.author, limit=args.limit, dry_run=args.dry_run, skip_existing=not args.force, @@ -568,7 +567,7 @@ Update Meta Options: --post-ids Specific post IDs to update --category Filter by category name(s) --category-id Filter by category ID(s) - --author-filter Filter by author name(s) + --author Filter by author name(s) --force Force regenerate even for good quality meta descriptions Migration Options: @@ -616,7 +615,7 @@ Examples: seo update_meta --site mistergeek.net # Update all posts on site seo update_meta --site A --post-ids 1 2 3 # Update specific posts seo update_meta --site A --category "VPN" --limit 10 # Update 10 posts in category - seo update_meta --site A --author-filter "john" --limit 10 # Update 10 posts by author + seo update_meta --site A --author "john" --limit 10 # Update 10 posts by author seo update_meta --site A --dry-run # Preview changes seo status """)