Project

General

Profile

Actions

Bug #53399

closed

Wrong usage-text for cli_dispatch

Added by Jan Bartels over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-11-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you run several tasks with cli_dispatch (e. g. cli_dispatch.phpsh lowlevel_cleaner missing_relations -r --AUTOFIX and several others), you'll get a message to run it with parameter "-e". Actually, you have to enter "--refindex update" instead of "-e". Please correct usage text and update README-file "HOWTO_clean_up_TYPO3_installations.txt" accordingly.

Actions #1

Updated by Tomita Militaru over 10 years ago

Can you be more specific, I've looked in the file HOWTO_clean_up_TYPO3_installations.txt and it's mentioned --refindex update, can't find the "-e" reference.

Actions #2

Updated by Jan Bartels over 10 years ago

Have a look at the following command sequence:

xxx:/.../typo3_62/typo3$ php53 cli_dispatch.phpsh lowlevel_cleaner missing_relations -r --AUTOFIX
Expires: 0
Last-Modified: Mon, 11 Nov 2013 20:55:55 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html

*******************************************
Reference Index being TESTED (nothing written, use "-e" to update)
*******************************************

xxx:/.../typo3_62/typo3$ php53 cli_dispatch.phpsh lowlevel_cleaner missing_relations -r --AUTOFIX -e
Expires: 0
Last-Modified: Mon, 11 Nov 2013 20:56:39 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html

ERROR: Option -e was unknown to this script!
(Options are: -s, --silent, -ss, -r, -v level, --refindex mode, --AUTOFIX
[testName], --dryrun, --YES, -i, --filterRegex expr, --showhowto)

The first command output states clearly to use -e as parameter. If you add this option, it is unknown.

Actions #3

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25303

Actions #4

Updated by Tomita Militaru over 10 years ago

The first command output states clearly to use -e as parameter. If you add this option, it is unknown.

Thanks for the additional information, I've submitted a patch.

Actions #5

Updated by Jan Bartels over 10 years ago

Thanks! The HOWTO-file is correct, indeed.

Actions #6

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25346

Actions #7

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25347

Actions #8

Updated by Tomita Militaru over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF