diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-24 11:21:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 11:21:41 +0200 |
commit | 1814379f34b22124a88637f26a579e5c06243301 (patch) | |
tree | 6e4bb79068926a9e2d85a338f9c97fb2fdebf253 /src/op_mode/connect_disconnect.py | |
parent | 79a7eec862ba489e6787487fdf462dd00b062f55 (diff) | |
parent | 74e168aff5f6861820d7e0038bfd01e64b532642 (diff) | |
download | vyos-1x-1814379f34b22124a88637f26a579e5c06243301.tar.gz vyos-1x-1814379f34b22124a88637f26a579e5c06243301.zip |
Merge pull request #3865 from vyos/mergify/bp/circinus/pr-3860
op_mode: T6596: pppoe operation command failed (backport #3860)
Diffstat (limited to 'src/op_mode/connect_disconnect.py')
-rwxr-xr-x | src/op_mode/connect_disconnect.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |