Bug 16972 - ./misc/sip_cli_emulator.pl should list mandatory vs. optional command line options in its usage section.
Summary: ./misc/sip_cli_emulator.pl should list mandatory vs. optional command line op...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 12:32 UTC by Barton Chittenden
Modified: 2020-02-06 01:06 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.