commit affaafeeb4d5c8e042dee02a73ef2283d066af40
parent 53223809da5a224ccb932d9df990ecf2631b7b64
Author: lostd <lostd@2f30.org>
Date: Thu, 22 Nov 2012 06:51:34 +0000
Use double dash for range in command line
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/musicfix b/bin/musicfix
@@ -106,7 +106,7 @@ end
# Returns nil on error
def mkposlist tracks
pl = tracks.split(",").map do |r|
- r = r.split("-")
+ r = r.split("--")
return nil if r.include? ""
r = case r.length
when 1 then r