commit 33edd1540030bbebec7c4d17d8664e2f9dcceec9
parent 12e8a17131da1da7311f20ba4ecc4ff70215419b
Author: nolash <dev@holbrook.no>
Date: Mon, 29 Jun 2020 23:38:06 +0200
Remove flag position opinionation
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/feedwarrior b/scripts/feedwarrior
@@ -36,8 +36,8 @@ cmd_show.parse_args(sub_show)
sub_create = sub.add_parser('create', help='create new feed')
cmd_create.parse_args(sub_create)
-
-args = argparser.parse_args(sys.argv[1:])
+args = argparser.parse_known_args()
+args = argparser.parse_args(args[1], args[0])
if args.v:
logging.getLogger().setLevel(logging.DEBUG)