[Koha-bugs] [Bug 10003] koha-* scripts (packages) should provide tab-completion in bash

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 2 04:41:42 CET 2013


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

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to M. Tompsett from comment #10)
> root at ubuntu:~# koha-stop-zebra instance2
> Stopping Zebra server for instance2
> root at ubuntu:~# koha-stop-zebra instance2
> Zebra already stopped for instance instance2.
> root at ubuntu:~# koha-stop-zebra instance2
> Zebra already stopped for instance instance2.
> 
> The tab completion came up with instance2 even though it was stopped already.
> 
> Hmmm... my koha-restart-sip doesn't exist, I think that was bug 10622.
> Perhaps I built my .deb before including 10622.
> 
> Any other tests I had issues with were NOT tab completion issues, but rather
> behaviour issues (--help vs. no parameter, what does disable really mean,
> feedback vs. no feedback).


All this is intended. tab completion just shows valid parameters for the
command. You can call any of those koha-*-action commands with instances for
such the task is not running and the result is that you got. Those scripts just
check the instance is enabled. You shouldn't ask tab completion to provide
things the commands themselves don't provide.

Please don't paste the output of the grep command help, it just makes this bug
unreadable.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list