diff --git a/src/options.nim b/src/options.nim index 61b3d6bc..69075077 100644 --- a/src/options.nim +++ b/src/options.nim @@ -41,8 +41,6 @@ const optionsCommands: seq[string] = @["list", "set", "reset"] type OptionName* = string ## Used to store options names in the database. - OptionValue* = string - ## Used to set or get the option's values using db: DbConn # Connection to the shell's database optionName: OptionName # The name of option to get or set diff --git a/src/types.nim b/src/types.nim index bfcc9397..cf858e43 100644 --- a/src/types.nim +++ b/src/types.nim @@ -47,6 +47,8 @@ type content*: string plugin*: string `template`*: bool + OptionValue* = string + ## Used to set or get the option's values OptionValType* = enum ## Used to set the type of option's value integer, float, boolean, none, historysort, natural, text, command, header, positive