[arch-dev-public] [signoff] pacman 3.5.0-1
aaronmgriffin at gmail.com
Wed Mar 16 16:40:29 EDT 2011
On Wed, Mar 16, 2011 at 3:29 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Wed, Mar 16, 2011 at 3:26 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
>> You can do it "GNU style" and only read from stdin if the package list is "-"
> OMG, Aaron is here!
> That sounds like the way to go, or we are going to cause regressions
> to anyone that expected prior behavior. Dave- does that make sense,
> only read from stdin if an '-' arg is provided?
It's how a lot of tools do it. Usually for cases like this: where you
have a mix of "bunch of args I want to pass" and "questions I want to
ask the user"
You might need to verify that getopt or whatever doesn't steal that arg, though.
More information about the arch-dev-public