Skip to content

Commit

Permalink
Fix color option typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Jan 17, 2024
1 parent c00dfe9 commit 25f0fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cylc/flow/option_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class CylcOptionParser(OptionParser):
action='store_false', dest='log_timestamp',
default=True, useif='all'),
OptionSettings(
['--color', '--color'], metavar='WHEN', action='store',
['--color', '--colour'], metavar='WHEN', action='store',
default='auto', choices=['never', 'auto', 'always'],
help=(
"When to use color/bold text in terminal output."
Expand Down
2 changes: 1 addition & 1 deletion cylc/flow/task_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def __str__(self) -> str:
"""
if self.state.status == TASK_STATUS_WAITING:
# Don't print pre-incremented submit number.
subnum= "__"
subnum = "__"
else:
subnum = f"{self.submit_num:02d}"

Expand Down

0 comments on commit 25f0fd9

Please sign in to comment.