# This file is licensed to you under the license specified in the included file
# `COPYING'. Look there for further details.

# Specification file format:
#
# This file consist in lines of sentences with the following format:
#
#         package <packname>
#         version <version>
#         purpose <string>
#         option <long> <short> <desc> <argtype> <required>
#         option <long> <short> <desc> flag      <onoff>
#         option <long> <short> <desc> no
#         ... # ...
#
# Where:
#
# <packname> = Double quoted string with upper and lower case chars, digits,
#              '-' and '.'.  No spaces allowed.
# <version>  = Double quoted string with upper and lower case chars, digits,
#              '-' and '.'.  No spaces allowed.
# <purpose>  = What the program does
#              Double quoted string (even on more than one line)
# <long>     = Double quoted string with upper and lower case chars, digits,
#              '-' and '.'.  No spaces allowed.
# <short>    = A single upper or lower case char, or a digit.
# <desc>     = String with upper and lower case chars, digits, '-', '.' and
#              spaces. First character must be no space.
# <argtype>  = string, int, short, long, float, double, longdouble or longlong.
# <required> = yes or no.
# <onoff>    = on or off.
# Comments begins with '#' in any place of the line and ends in the 
# end of line.
# The third form of option is used if the option does not take an argument;
# it must not be required.


# Name of your program
#package "gengetopt-sample"       # don't use package if you're using automake
# Version of your program
#version "1.0.1"                  # don't use version if you're using automake

purpose "this is just a test program for gengetopt"

# Options
option  "str-opt"         s "A string option"      string     no
option  "int-opt"         i "A int option"         int        yes
option  "short-opt"       S "A short option"       short      no
option  "long-opt"        l "A long option"        long       yes
option  "float-opt"       f "A float option"       float      no
option  "double-opt"      d "A double option"      double     no
option  "long-double-opt" L "A long double option" longdouble no
option  "long-long-opt"   y "A long long option"   longlong   no

option  "func-opt"        F "A function option"    no 

option  "flag-opt"        x "A flag option"        flag       off
# This option turn on or off a flag, last column is the state of the flag when
# program start. If user specify it, flag toggles.
