[Koha-bugs] [Bug 21322] New: process_message_queue.pl --type should take an argument

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 6 15:18:25 CEST 2018


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

            Bug ID: 21322
           Summary: process_message_queue.pl --type should take an
                    argument
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: magnus at libriotech.no
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

If you run process_message_queue.pl -h you get this, among other things:

  -t --type: If supplied, only processes this type of message ( email, sms )

But if you try to use --type like this:

  process_message_queue.pl -v --type=sms" <instance>

You get this error:

  Option type does not take an argument

This is because the setup of the type argument is wrong. This: 

    't|type'          => \$type,

should be this:

    't|type:s'          => \$type,

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


More information about the Koha-bugs mailing list