Koha/debian/scripts
Tomas Cohen Arazi de275ec128 Bug 10094 - koha-list should have a --disabled option switch
This patch adds that (--disabled) option switch, Also revisits some of the code and docs.

To test:
- Apply the patch and create new packages (you might just drop the koha-list command somewhere)
- Create several instances (koha-create)
- Randomly set some as disabled, others enabled and enable email on some.
- Test all possible option switches combinations

Expected results:
- koha-list should abort with a proper message if mutually exclusive options selected (--email vs. --noemail, --enabled vs. --disabled)
- koha-list should show the exact instances you asked for

Regards
To+

P.S.: I wanted to add the --disabled option switch for the tab-completion work I'm doing, but as of bug 4876 I thought it would be ok to revisit the script to make it robust and clear.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>

Does what it says, and cleans up the script at the same time.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-15 08:14:09 -04:00
..
koha-create
koha-create-dirs
koha-disable
koha-dump
koha-dump-defaults
koha-email-disable Bug 10150 - koha-email-disable error handling 2013-05-02 15:04:57 -07:00
koha-email-enable Bug 10157 - koha-email-enable error handling 2013-05-15 08:13:17 -04:00
koha-enable
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach
koha-list Bug 10094 - koha-list should have a --disabled option switch 2013-05-15 08:14:09 -04:00
koha-mysql
koha-rebuild-zebra Bug 10159 - koha-rebuild-zebra error handling 2013-05-15 08:13:03 -04:00
koha-remove
koha-reset-passwd
koha-restart-zebra
koha-restore
koha-run-backups
koha-shell
koha-start-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-start-zebra
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 10146 - koha-stop-zebra error handling 2013-05-15 08:13:31 -04:00
koha-translate
koha-upgrade-schema
koha-upgrade-to-3.4