add flag getters for prefix option

Signed-off-by: Jiri Pirko <jiri@resnulli.us>