Bug 1108399 - Fix docs for mach decorators; r=ahal

Documentation was referencing sub commands. The proper terminology is
"command."

--HG--
extra : rebase_source : aa2fc73c6141850109324fd5299491e49ef29e91
extra : histedit_source : da075bea5a36a9de81527d93a9fc751cd6cae9b2
This commit is contained in:
Gregory Szorc 2014-12-06 21:15:27 -08:00
parent cd12686186
commit 32794223fa

View File

@ -95,7 +95,7 @@ def CommandProvider(cls):
class Command(object):
"""Decorator for functions or methods that provide a mach subcommand.
"""Decorator for functions or methods that provide a mach command.
The decorator accepts arguments that define basic attributes of the
command. The following arguments are recognized:
@ -162,7 +162,7 @@ class CommandArgument(object):
class CommandArgumentGroup(object):
"""Decorator for additional argument groups to mach subcommands.
"""Decorator for additional argument groups to mach commands.
This decorator should be used to add arguments groups to mach commands.
Arguments to the decorator are proxied to