ovs-ofctl: Make add-flows command read from stdin if file name is "-".
authorBen Pfaff <blp@nicira.com>
Wed, 9 Mar 2011 22:44:20 +0000 (14:44 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Mar 2011 00:22:00 +0000 (16:22 -0800)
commit70315176de81b49b7dcd4d65f09991f3217813af
tree22ce27c1e6e841da813f5b256a4036339f400c82
parent6cd1276311130c6b6576cff47aea1068c42b7829
ovs-ofctl: Make add-flows command read from stdin if file name is "-".

It is conventional for Unix tools to read from standard input if "-" is
specified as a file name.  It's easy for "ovs-ofctl add-flows" to behave
this way, too, so this commit implements it.

Suggested-by: Paul Ingram <paul@nicira.com>
tests/ofproto.at
utilities/ovs-ofctl.8.in
utilities/ovs-ofctl.c