This repository was archived by the owner on Jul 20, 2020. It is now read-only.
This repository was archived by the owner on Jul 20, 2020. It is now read-only.
When arguments are passed to script via $@ in bash script, quoted parameters like --author get truncated #11
Open
Description
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()
Metadata
Metadata
Assignees
Labels
No labels