Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64826

Improve and fix show help of install database CLI script

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5, 3.5.2, 3.5.5, 3.6.3, 3.7
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
      None

      Description

      The CLI script does not show the help after Moodle is already installed. The help should always be displayed.

      Discussion about this issue: MDLQA-12735

       

      PS: Furthermore fixed some small stuff like inline-comments and localization.

      Actual result

      1. Access to a server by terminal.
      2. Run first the install.php script to create the config.php file.
      3. Run "install_database.php" script to complete the CLI installation.
      4. Print out the help with "install_database.php --help" and verify that's not showed up.

      Expected result

      1. Do the steps 1-3 like above.
      2. This time the help will printed out.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pead Adrian Perez
                Reporter:
                pead Adrian Perez
                Peer reviewer:
                Damyon Wiese
                Participants:
                Component watchers:
                Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m