summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2019-07-17 11:57:18 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-17 11:57:18 +0000
commitef4cc3f2ff5c134d5fce500398158be2a7baf81a (patch)
treec07c43b28051151400cdfbe9b0b1c10f7c31e182
parentc7263e31d8663df2e16576778b596dffe27e924f (diff)
parentd2830ea65ac9e26c7e68af7879f86a10e59714de (diff)
downloadbuildstream-ef4cc3f2ff5c134d5fce500398158be2a7baf81a.tar.gz
Merge branch 'becky/fix_comand_typos' into 'master'
Fixing typos: comand corrected to command See merge request BuildStream/buildstream!1486
-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):