Bug 16972

Summary: ./misc/sip_cli_emulator.pl should list mandatory vs. optional command line options in its usage section.
Product: Koha Reporter: Barton Chittenden <barton>
Component: Command-line UtilitiesAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: dcook, robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Barton Chittenden 2016-07-25 12:32:16 UTC
As far as I can tell, the following options are mandatory:

-a (address)
-p (port)
-su (sip user)
-sp (sip password)
-l (sip location/institution)

The sip terminator (-t) is not mandatory, but getting it wrong hangs the script without warning.

The usage would look like this, more or less:

Usage: $0 -a <address> -p <port> -su <sip user> -sp <sip port> -l <location> [--patron <patron barcode>] [--password <patron password>] [-i <item barcode>] [-fa] [-m <message>] [-h]
Comment 1 David Cook 2020-02-06 01:06:56 UTC
This was just driving me crazy.

I totally agree.