http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10094

Robin Sheat <ro...@catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17616|0                           |1
        is obsolete|                            |

--- Comment #3 from Robin Sheat <ro...@catalyst.net.nz> ---
Created attachment 17628
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17628&action=edit
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 <ro...@catalyst.net.nz>

Does what it says, and cleans up the script at the same time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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