summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/opmode.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/vyos/opmode.py b/python/vyos/opmode.py
index 906bd0dcb..0af4359c6 100644
--- a/python/vyos/opmode.py
+++ b/python/vyos/opmode.py
@@ -94,9 +94,9 @@ def run(module):
args = vars(parser.parse_args())
if not args["subcommand"]:
- print("Subcommand required!")
- parser.print_usage()
- sys.exit(1)
+ print("Subcommand required!")
+ parser.print_usage()
+ sys.exit(1)
function_name = args["subcommand"]
func = functions[function_name]