-
Notifications
You must be signed in to change notification settings - Fork 985
Open
Labels
P-lowLow priorityLow priority
Description
I'm writing a drop-in replacement/wrapper for rustfmt, and I need to be able to extract the list of all files that were passed. This is hard to do in a version-stable way: I could extract all positional arguments by filtering out all conditional arguments, but future updates to rustfmt might add more optional arguments with an unknown syntax that would break this logic.
The simplest solution would be to have a flag on rustfmt (e.g. --passthrough-filenames) that simply prints the provided list of input files without doing anything else.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P-lowLow priorityLow priority