X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/1f7088f6391dfbffcd8f243f8d1509be8a209604..4425e9001e20e891dab7711644f83a1628788b47:/Sources/main.swift diff --git a/Sources/main.swift b/Sources/main.swift index 47720ad..0ae48bc 100644 --- a/Sources/main.swift +++ b/Sources/main.swift @@ -84,6 +84,10 @@ func main() { } } + // Remove any flags so anyone after this gets the unprocessed values + let programName: [String] = [CommandLine.arguments[0]] + CommandLine.arguments = programName + parser.unparsedArguments + Lyricli.printLyrics() }