diff --git a/linodecli/plugins/get-kubeconfig.py b/linodecli/plugins/get-kubeconfig.py index 208aa09a..f65bf1fa 100644 --- a/linodecli/plugins/get-kubeconfig.py +++ b/linodecli/plugins/get-kubeconfig.py @@ -14,6 +14,7 @@ import yaml from linodecli.exit_codes import ExitCodes +from linodecli.plugins import inherit_plugin_args PLUGIN_BASE = "linode-cli get-kubeconfig" @@ -22,8 +23,9 @@ def call(args, context): """ The entrypoint for this plugin """ - parser = argparse.ArgumentParser(PLUGIN_BASE, add_help=True) - + parser = inherit_plugin_args( + argparse.ArgumentParser(PLUGIN_BASE, add_help=True) + ) group = parser.add_mutually_exclusive_group() parser.add_argument(