← Back to team overview

mahara-contributors team mailing list archive

[Bug 1496616] A change has been merged

 

Reviewed:  https://reviews.mahara.org/5336
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/47d2c4e8b4984c5f6932f694dcbb68570a44da04
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    15.04_STABLE

commit 47d2c4e8b4984c5f6932f694dcbb68570a44da04
Author: Aaron Wells <aaronw@xxxxxxxxxxxxxxx>
Date:   Thu Sep 17 17:10:38 2015 +1200

Bug 1496616: Show the right script name in cli.php help text

behatnotneeded: Can't behat test CLI scripts

Change-Id: Ic83251491c745bb4375d40510139365a5e004800
(cherry picked from commit 4062091083148337b81976007ab1ce5c69ccaa87)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1496616

Title:
  CLI script help output is incorrect

Status in Mahara:
  Fix Committed
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  when running sudo php reset_password.php in htdocs/admin/cli/ without
  setting any arguments it returns the help information but indicates
  "Usage: cli.php" which is wrong, it should be "Usage:
  reset_password.php"

  Scripts need a way to pass in their file name to cli.php so we can
  display the correct file name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1496616/+subscriptions


References