Problem/Motivation

When you use the command:

drush mw-reorder help 0

Trying to change the weight of a core module but Modules Weight is not configured to allow it, you will receive an error message, but you can use the --force option to force the change.

But the option is unnecessary if you use the drush_confirm() to ask a question about the core module reorder action.

Proposed resolution

Change the --force option in mw-reorder drush command by a confirmation question

Remaining tasks

None.

User interface changes

None.

API changes

The --force option for the mw-reorder drush command will not longer exists.

Data model changes

None.

Comments

adriancid created an issue. See original summary.

  • adriancid committed 1354c58 on 8.x-1.x
    Issue #2918308 by adriancid: Change the --force option in mw-reorder...

  • adriancid committed f5ebd23 on 7.x-1.x
    Issue #2918308 by adriancid: Change the --force option in mw-reorder...
adriancid’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.