Skip to content

Commit fa7f695

Browse files
committed
escaped values
1 parent 2b3611f commit fa7f695

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

pkg/flags.go

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@ func buildFlags(flags *ShakaFlags) ([]string, error) {
2525
}
2626

2727
built = append(built, flag.Parse())
28-
29-
//// This is to make sure, flags must be separated with two elements
30-
//// instead of one string with the space between.
31-
//flagValue := flag.Parse()
32-
//groups := strings.Split(flagValue, " ")
33-
//if len(groups) < 2 {
34-
// built = append(built, flagValue)
35-
// continue
36-
//}
37-
//
38-
//built = append(built, []string{groups[0], groups[1]}...)
3928
}
4029

4130
return built, nil
@@ -96,7 +85,7 @@ func (g DumpStreamInfo) Validate() error {
9685
type BaseUrls []string
9786

9887
func (b BaseUrls) Parse() string {
99-
return fmt.Sprintf("--base_urls=%s", strings.Join(b, ","))
88+
return fmt.Sprintf("--base_urls=\"%s\"", strings.Join(b, ","))
10089
}
10190

10291
func (b BaseUrls) Validate() error {

0 commit comments

Comments
 (0)