← Back to team overview

mahara-contributors team mailing list archive

[Bug 1496616] [NEW] CLI script help output is incorrect

 

Public bug reported:

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.

** Affects: mahara
     Importance: Low
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

-- 
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:
  In Progress

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


Follow ups