This commit is contained in:
Henrique Dias
2015-09-27 20:50:17 +01:00
parent 34d72cbbc9
commit 1d9584345e
3 changed files with 5 additions and 4 deletions

View File

@@ -51,11 +51,11 @@ func ParseCMS(c *setup.Controller) (*Config, error) {
}
}
conf.parseFlags()
conf.parseArgs()
return conf, nil
}
func (c *Config) parseFlags() {
func (c *Config) parseArgs() {
for index, element := range c.Args {
c.Args[index] = strings.Replace(element, "\"", "", -1)
}