From 74e168aff5f6861820d7e0038bfd01e64b532642 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 24 Jul 2024 10:33:30 +0300 Subject: op_mode: T6596: pppoe operation command failed (cherry picked from commit 79407cd5bbec3194a9b6542418229b33eab05121) --- src/op_mode/connect_disconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/op_mode/connect_disconnect.py b/src/op_mode/connect_disconnect.py index 379890c54..8903f916a 100755 --- a/src/op_mode/connect_disconnect.py +++ b/src/op_mode/connect_disconnect.py @@ -97,7 +97,7 @@ def main(): group = parser.add_mutually_exclusive_group() group.add_argument("--connect", help="Bring up a connection-oriented network interface", action="store_true") group.add_argument("--disconnect", help="Take down connection-oriented network interface", action="store_true") - group.add_argument("--interface", help="Interface name", action="store", required=True) + parser.add_argument("--interface", help="Interface name", action="store", required=True) args = parser.parse_args() if args.connect or args.disconnect: -- cgit v1.2.3