diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-06-16 20:24:44 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-06-16 20:24:44 +0200 |
| commit | 132133e9be4289b44e14393d39225a42eea6f34b (patch) | |
| tree | 0db94cd20145cabb742b7a94ab2d527a2fbe16cc | |
| parent | d21bc583e6316178046a6aae5262f64fff43e393 (diff) | |
| download | vyos-1x-132133e9be4289b44e14393d39225a42eea6f34b.tar.gz vyos-1x-132133e9be4289b44e14393d39225a42eea6f34b.zip | |
mtr: T8923: fix typo in function declaration "expension" -> "expansion"
| -rw-r--r-- | src/op_mode/mtr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/mtr.py b/src/op_mode/mtr.py index 374d42dd8..139bd4edd 100644 --- a/src/op_mode/mtr.py +++ b/src/op_mode/mtr.py @@ -201,7 +201,7 @@ def completion_failure(option: str) -> None: sys.exit(1) -def expension_failure(option, completions): +def expansion_failure(option, completions): reason = 'Ambiguous' if completions else 'Invalid' sys.stderr.write( '\n\n {} command: {} [{}]\n\n'.format(reason, ' '.join(sys.argv), option) @@ -224,7 +224,7 @@ def convert(command, args): shortname = args.first() longnames = complete(shortname) if len(longnames) != 1: - expension_failure(shortname, longnames) + expansion_failure(shortname, longnames) longname = longnames[0] if longname == 'json': to_json = True |
