X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/1f7088f6391dfbffcd8f243f8d1509be8a209604..cadf28c5831b225abf9da650127659c0b0bf6e39:/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() }