summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Grayson <becky.grayson1@hotmail.co.uk>2019-07-17 11:47:36 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-17 11:21:13 +0000
commitd2830ea65ac9e26c7e68af7879f86a10e59714de (patch)
treec07c43b28051151400cdfbe9b0b1c10f7c31e182
parentc7263e31d8663df2e16576778b596dffe27e924f (diff)
downloadbuildstream-d2830ea65ac9e26c7e68af7879f86a10e59714de.tar.gz
Fixing typos: comand corrected to command
-rw-r--r--src/buildstream/_frontend/app.py2
-rw-r--r--src/buildstream/_frontend/complete.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py
index a1ddf8bb7..1f482bb00 100644
--- a/src/buildstream/_frontend/app.py
+++ b/src/buildstream/_frontend/app.py
@@ -109,7 +109,7 @@ class App():
self._interactive_failures = self.interactive
# Use color output if we're attached to a tty, unless
- # otherwise specified on the comand line
+ # otherwise specified on the command line
if main_options['colors'] is None:
self.colors = is_a_tty
elif main_options['colors']:
diff --git a/src/buildstream/_frontend/complete.py b/src/buildstream/_frontend/complete.py
index bf9324812..06067f6cc 100644
--- a/src/buildstream/_frontend/complete.py
+++ b/src/buildstream/_frontend/complete.py
@@ -305,8 +305,8 @@ def get_choices(cli, prog_name, args, incomplete, override):
# completion for chained commands
visible_commands = [cmd for cmd in ctx.parent.command.list_commands(ctx.parent)
if not ctx.parent.command.get_command(ctx.parent, cmd).hidden]
- remaining_comands = set(visible_commands) - set(ctx.parent.protected_args)
- choices.extend([cmd + " " for cmd in remaining_comands])
+ remaining_commands = set(visible_commands) - set(ctx.parent.protected_args)
+ choices.extend([cmd + " " for cmd in remaining_commands])
for item in choices:
if item.startswith(incomplete):