With python 2.7 OptParse became ArgParse. add_arg is equivalent to add_opt. So, when you call -h for this function, the input/outputs appear.