Bug #53399
closedWrong usage-text for cli_dispatch
100%
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.
Updated by Tomita Militaru almost 11 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.
Updated by Jan Bartels almost 11 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.
Updated by Gerrit Code Review almost 11 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
Updated by Tomita Militaru almost 11 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.
Updated by Jan Bartels almost 11 years ago
Thanks! The HOWTO-file is correct, indeed.
Updated by Gerrit Code Review almost 11 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
Updated by Gerrit Code Review almost 11 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
Updated by Tomita Militaru almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 94c4d7011bf28735e6c50466da739bb26985c0c0.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed