| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -511,9 +511,12 @@ def main(): | |||
| 511 | 511 | what = arg.what | |
| 512 | 512 | ||
| 513 | 513 | # Remove CLI behavior-related args | |
| 514 | - for item in ("gitlab", "config_file", "verbose", "what", "action"): | ||
| 514 | + for item in ("gitlab", "config_file", "verbose", "what", "action", | ||
| 515 | + "version"): | ||
| 515 | 516 | args.pop(item) | |
| 516 | 517 | ||
| 518 | + args = {k: v for k, v in args.items() if v is not None} | ||
| 519 | + | ||
| 517 | 520 | cls = None | |
| 518 | 521 | try: | |
| 519 | 522 | cls = gitlab.__dict__[_what_to_cls(what)] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments