Merge pull request #2178 from danielflira/master
fix weed fuse parameters parsing
This commit is contained in:
@@ -55,7 +55,7 @@ func runFuse(cmd *Command, args []string) bool {
|
|||||||
name := option.String()
|
name := option.String()
|
||||||
option.Reset()
|
option.Reset()
|
||||||
|
|
||||||
for i++; i < rawArgsLen && rawArgs[i] != ','; i++ {
|
for i++; i < rawArgsLen && rawArgs[i] != ',' && rawArgs[i] != ' '; i++ {
|
||||||
// double quote separator read option until next double quote
|
// double quote separator read option until next double quote
|
||||||
if rawArgs[i] == '"' {
|
if rawArgs[i] == '"' {
|
||||||
for i++; i < rawArgsLen && rawArgs[i] != '"'; i++ {
|
for i++; i < rawArgsLen && rawArgs[i] != '"'; i++ {
|
||||||
|
|||||||
Reference in New Issue
Block a user