@@ -41,11 +41,12 @@ Declare each options and associated settings like name, arguments, etc. with ```
bashopts_declare option list:
-```-n <val>```: Option/variable name (all option value will be stored into $<variablename>)
-```-v <val>```: Default value
-```-e <val>```: Bash expression: like default but this expression is computed on time and can contain variables and other bash expression
-```-x <val>```: Bash expression: like default but this expression is computed on time and can contain variables and other bash expression
-```-o <val>```: Short option name (one character, e.g.: 'h' for -h argument)
-```-l <val>```: Long option (several characters, e.g.: 'my-opt' for --my-opt argument)
-```-d <val>```: Option description
-```-t <val>```: Value type: string, number, boolean (default)
-```-t <val>```: Value type: string, enumeration, number, boolean (default)
-```-e <val>```: Enum element: restrict possible values with a list of '-e <element>' options (you have to set one '-e <val>' by elements)
-```-m <val>```: Method: set (DEFAULT: simple value where $<variablename> will be a simple value), add (list with several values where $<variablename> will be a bash array)
-```-k <val>```: Custom check method (bash function like bashopts_check_number in bashopts.sh file)