updates
This commit is contained in:
1 parent
34d72cbbc9
commit
1d9584345e
3 files changed
+5
-4
No files matched your search
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user