#!/bin/csh -f
#+
# OSIRIS library of scripts
#
# NAME
#      sitime - wrapper for osirisTint spec
#
# SYNOPSIS
#     sitime [x] 
#
# DESCRIPTION
#      sets the integration time to x seconds.
#      if the desired exposure time is less than 
#      the minimum exposure time, the time is set
#      to the minimum texp.
#
# ARGUMENTS
#     x - exptime in seconds.
#
# OPTIONS
#
# EXAMPLES
#    sitime 5  - set integration time to 5 seconds
#    sitime 0  - set exp to minimum integration time
#
# ENVIRONMENT VARIABLES
#
# FILES
#
# SERVERS & KEYWORDS
#    
#
#
# SCRIPTS CALLED
#
# EXIT STATUS
#     0 - normal exit, no error
#     1 - script aborted by an interrupt
#     2 - syncheck error
#     3 - error parsing command line input
#     other errors...
#
#
#
# Modification History:
# 20180703 - jlyke Original
#------------------------------------------------------
# Boiler plate for "-h" support for command autohelp.

if ("$1" == "-h") then
    help $0
    exit $status
endif

osirisTint spec $*