; Copyright © 2014  Mattias Andrée (maandree@member.fsf.org)
; 
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
; 
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
; 
; You should have received a copy of the GNU General Public License
; along with this program.  If not, see <http://www.gnu.org/licenses/>.


(blueshift
  (multiple unargumented
    ((options -p --panic-gate --panicgate)  (complete --panicgate)  (desc 'Applies the settings directly instead of transitioning into the initial settings'))
    ((options -h -? --help)                 (complete --help)       (desc 'Prints help information'))
    ((options -C --copying --copyright)     (complete --copyright)  (desc 'Prints copyright information'))
    ((options -W --warranty)                (complete --warranty)   (desc 'Prints non-warranty information'))
    ((options -v --version)                 (complete --version)    (desc 'Prints the name version of the program'))
    ((options -r --reset)                   (complete --reset)      (desc 'Transition from the specified settings to clean settings'))
  )
  (multiple argumented
    ((options -c --configurations)  (complete --configurations)  (arg SCRIPT)     (files -f)  (desc 'Select configuration script'))
    ((options -g --gamma)           (complete --gamma)           (arg RGB|R:G:B)  (files -0)  (desc 'Apply gamma correction to the colour curves'))
    ((options -b --brightness)      (complete --brightness)      (arg RGB|R:G:B)  (files -0)  (desc 'Change brightness using sRGB'))
    ((options +b ++brightness)      (complete ++brightness)      (arg Y)          (files -0)  (desc 'Change brightness using CIE xyY'))
    ((options -t --temperature)     (complete --temperature)     (arg KELVIN)     (files -0)  (desc 'Change colour temperature'))
    ((options +t ++temperature)     (complete ++temperature)     (arg KELVIN)     (files -0)  (desc 'Change colour temperature using CIE xyY instead of sRBG'))
    ((options -l --location)        (complete --location)        (arg LAT:LON)    (files -0)  (desc 'Specify your geographical location'))
    ((options -o --output --crtc)   (complete --output)          (arg CRTC)       (files -0)  (desc 'Select CRTC to apply changes to'))
  )
)