https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36932

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |[email protected]

--- Comment #11 from David Nind <[email protected]> ---
This works, however the help needs to match the actual command (or vice versa):

1. Using -dev works: koha-plack --restart -dev kohadev

2. Using --development doesn't work: koha-plack --restart --development kohadev
   ==> Error: invalid option switch (--development)

3. Using --development_environment works. However, this is inconsistent with
other options - should be a dash instead of an underscore. In addition, this
doesn't match the help, which has --development.

Testing notes using KTD:

1. Apply the patch.

2. Reset everything: reset_all

3. Check that the script is updated: koha-plack --help
   ==> You should see the new option listed in the help output
(--development|-dev    Enable development environment)

4. Run the rest of the test plan.


Help output
===========

koha-plack --help
koha-plack

This script lets you manage the plack daemons for your Koha instances.

Usage:
koha-plack --start|--stop|--restart|--reload|--status [--quiet|-q]
instancename1 [instancename2...]
koha-plack --enable|--disable instancename1 [instancename2]
koha-plack -h|--help

    --start               Start the plack daemon for the specified instances
    --stop                Stop the plack daemon for the specified instances
    --restart             Restart the plack daemon for the specified instances
    --reload              Reload the plack daemon for the specified instances,
                          letting the busy workers finish processing their
                          requests before restarting them
    --enable              Enable plack for the specified instances
    --disable             Disable plack for the specified instances
    --status              Show the status of Plack for the specified instances
    --debugger            Enable running Plack in debug mode
    --debugger-key        Specify the key the IDE is expecting
    --debugger-location   Specify the host:port for your debugger tool
(defaults
                          to localhost:9000)
    --debugger-path       Specify the path for the debugger library
    --development|-dev    Enable development environment
    --quiet|-q            Make the script quiet about non existent instance
names
                          (useful for calling from another scripts).
    --help|-h             Display this help message

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to