diff --git a/os/gcmd/gcmd_parser.go b/os/gcmd/gcmd_parser.go index 0ceba41c2..3858ecb94 100644 --- a/os/gcmd/gcmd_parser.go +++ b/os/gcmd/gcmd_parser.go @@ -136,9 +136,6 @@ func (p *Parser) parseOption(argument string) string { } func (p *Parser) isOptionValid(name string) bool { - if !p.strict { - return true - } _, ok := p.supportedOptions[name] return ok }