take into account nargs when creating type help