X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/1f7088f6391dfbffcd8f243f8d1509be8a209604..a02972c1c6bfcc3248276ce43a9b0e0b6a9ba05e:/Sources/main.swift?ds=inline 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() }