diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/build_commands.py | 4 | ||||
-rw-r--r-- | python/servo/devenv_commands.py | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index fd36afec812..77f7d1b7a2d 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -148,7 +148,7 @@ class MachCommands(CommandBase): if self.config["build"]["mode"] == "dev": dev = True elif self.config["build"]["mode"] == "release": - release = True + release = True elif release_exists and not dev_exists: release = True elif dev_exists and not release_exists: @@ -320,7 +320,7 @@ class MachCommands(CommandBase): @CommandArgument('--verbose', '-v', action='store_true', help='Print verbose output') - + @CommandArgument('params', nargs='...', help="Command-line arguments to be passed through to Cargo") def clean(self, manifest_path, params, verbose=False): diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index 0c05229938a..f061d79675c 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -39,10 +39,10 @@ class MachCommands(CommandBase): 'params', default=None, nargs='...', help='Command-line arguments to be passed through to cargo update') @CommandArgument( - '--package', '-p', default=None, + '--package', '-p', default=None, help='Updates selected package') @CommandArgument( - '--all-packages','-a',action='store_true', + '--all-packages','-a',action='store_true', help='Updates all packages') def cargo_update(self, params=None, package=None, all_packages=None): self.update_cargo(params, package, all_packages) @@ -54,10 +54,10 @@ class MachCommands(CommandBase): 'params', default=None, nargs='...', help='Command-line arguments to be passed through to cargo update') @CommandArgument( - '--package','-p',default=None, + '--package','-p',default=None, help='Updates selected package') @CommandArgument( - '--all-packages','-a',action='store_true', + '--all-packages','-a',action='store_true', help='Updates all packages') def update_cargo(self, params=None, package=None, all_packages=None): if not params: @@ -68,7 +68,7 @@ class MachCommands(CommandBase): elif all_packages: params = [] else: - print("Please choose package to update with the --package (-p) ") + print("Please choose package to update with the --package (-p) ") print("flag or update all packages with --all-packages (-a) flag") sys.exit(1) |