Koha/debian/scripts
Tomas Cohen Arazi 692c4f03b5 Bug 11509: (trivial rmaint followup) wrong parameter count
While adding the --help and -h switches I forgot to change to arguments
count validation so that one can actually use those parameters (i.e.
koha-create should accept being invoked with only one parameter).

This patch just changes the minimum parateres required from 2 to 1.

To reproduce:
- Run 'koha-create --help' from master
=> Usage information is printed BUT ALSO an "Error: wrong parameters"
   message
- Apply the patch and
- Run 'koha-create --help'
=> Usage informatio it printed and no error message.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-10 15:19:52 +00:00
..
koha-create Bug 11509: (trivial rmaint followup) wrong parameter count 2014-02-10 15:19:52 +00:00
koha-create-dirs
koha-disable
koha-dump Bug 10735: prevent koha-dump from aborting if backupdir undefined 2013-12-23 15:55:03 +00:00
koha-dump-defaults
koha-email-disable
koha-email-enable
koha-enable
koha-enable-sip
koha-foreach
koha-list
koha-mysql
koha-rebuild-zebra
koha-remove
koha-reset-passwd
koha-restart-zebra
koha-restore
koha-run-backups
koha-shell
koha-start-sip
koha-start-zebra Bug 10670: ensure koha-start-zebra sets problem permissions for logs 2013-11-14 23:53:10 +00:00
koha-stop-sip
koha-stop-zebra
koha-translate Bug 11655: koha-translate --list no longer shows 'en' 2014-02-04 17:36:39 +00:00
koha-upgrade-schema
koha-upgrade-to-3.4