You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2020. It is now read-only.
This may not be a bug in the library, but it may be possible to set nargs="+" and then have some logic to do a ' '.join(gerrit_args.author) (and so on for similar fields)
So far I have had to do a workaround after parsing (using sys.argv) for the following fields:
--uploader
--change-owner
--author
Another similar issue occurs when Gerrit passes --topic without any argument, and the parser expects one to be there. (i.e. some of the configurations could be tweaked for certain options)
Maybe instead of _generate_parser() there could be an extra step before that like _generate_options() so that the options could be modified before the call to _generate_parser()
This may not be a bug in the library, but it may be possible to set
nargs="+"and then have some logic to do a' '.join(gerrit_args.author)(and so on for similar fields)So far I have had to do a workaround after parsing (using sys.argv) for the following fields:
--uploader--change-owner--authorAnother similar issue occurs when Gerrit passes
--topicwithout any argument, and the parser expects one to be there. (i.e. some of the configurations could be tweaked for certain options)Maybe instead of
_generate_parser()there could be an extra step before that like_generate_options()so that the options could be modified before the call to_generate_parser()