Am 28.09.2016 um 22:55 hat Max Reitz geschrieben: > Right now, we have four possible options that conflict with specifying > an NBD filename, and a future patch will add another one ("address"). > This future option is a nested QDict that is flattened at this point, > requiring us to test each option whether its key has an "address." > prefix. Therefore, we will then need to iterate through all options. > > Adding this iteration logic now will simplify adding the new option > later. A nice side effect is that the user will not receive a long list > of five options which are not supposed to be specified with a filename, > but we can actually print the problematic option. > > Signed-off-by: Max Reitz <mre...@redhat.com>
Reviewed-by: Kevin Wolf <kw...@redhat.com>