From a20499bb9f798d4aef6d5d43386f42a1ace55800 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 22 Jan 2015 20:27:46 -0300 Subject: [PATCH] sfc/slicer.py: also let getopt know that we support -o --- sfc/slicer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfc/slicer.py b/sfc/slicer.py index 3f9705f..e161277 100755 --- a/sfc/slicer.py +++ b/sfc/slicer.py @@ -106,7 +106,7 @@ stdout = os.dup(1) os.dup2(2, 1) sys.stdout = os.fdopen(stdout, "w") -opts, args = getopt.getopt(sys.argv[1:], "a:e:fh:p:s:") +opts, args = getopt.getopt(sys.argv[1:], "a:e:fh:o:p:s:") for opt, arg in opts: if opt == "-a": if arg[0:3] == "top":