diff --git a/linodecli/plugins/get-kubeconfig.py b/linodecli/plugins/get-kubeconfig.py index d7af0249a..a839416eb 100644 --- a/linodecli/plugins/get-kubeconfig.py +++ b/linodecli/plugins/get-kubeconfig.py @@ -15,6 +15,7 @@ from linodecli.exit_codes import ExitCodes from linodecli.help_formatter import SortingHelpFormatter +from linodecli.plugins import inherit_plugin_args PLUGIN_BASE = "linode-cli get-kubeconfig" @@ -23,8 +24,10 @@ def call(args, context): """ The entrypoint for this plugin """ - parser = argparse.ArgumentParser( - PLUGIN_BASE, add_help=True, formatter_class=SortingHelpFormatter + parser = inherit_plugin_args( + argparse.ArgumentParser( + PLUGIN_BASE, add_help=True, formatter_class=SortingHelpFormatter + ) ) group = parser.add_mutually_exclusive_group()