diff options
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui/main.py.in')
-rw-r--r-- | scripts/pybootchartgui/pybootchartgui/main.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/main.py.in b/scripts/pybootchartgui/pybootchartgui/main.py.in index e9d2c74f1e..21bb0be3a7 100644 --- a/scripts/pybootchartgui/pybootchartgui/main.py.in +++ b/scripts/pybootchartgui/pybootchartgui/main.py.in | |||
@@ -65,6 +65,8 @@ def _mk_options_parser(): | |||
65 | # "To create a single annotation when any one of a set of processes is started, use commas to separate the names") | 65 | # "To create a single annotation when any one of a set of processes is started, use commas to separate the names") |
66 | # parser.add_option("--annotate-file", dest="annotate_file", metavar="FILENAME", default=None, | 66 | # parser.add_option("--annotate-file", dest="annotate_file", metavar="FILENAME", default=None, |
67 | # help="filename to write annotation points to") | 67 | # help="filename to write annotation points to") |
68 | parser.add_option("-T", "--full-time", action="store_true", dest="full_time", default=False, | ||
69 | help="display the full time regardless of which processes are currently shown") | ||
68 | return parser | 70 | return parser |
69 | 71 | ||
70 | class Writer: | 72 | class Writer: |
@@ -153,7 +155,7 @@ def main(argv=None): | |||
153 | finally: | 155 | finally: |
154 | f.close() | 156 | f.close() |
155 | filename = _get_filename(options.output) | 157 | filename = _get_filename(options.output) |
156 | res_list = parsing.split_res(res, options.num) | 158 | res_list = parsing.split_res(res, options) |
157 | n = 1 | 159 | n = 1 |
158 | width = len(str(len(res_list))) | 160 | width = len(str(len(res_list))) |
159 | s = "_%%0%dd." % width | 161 | s = "_%%0%dd." % width |