antrea icon indicating copy to clipboard operation
antrea copied to clipboard

antctl.exe supportbundle command doesn't support path flag on Windows

Open XinShuYang opened this issue 5 months ago • 1 comments

Describe the bug In Windows, running antctl.exe supportbundle -d reports an error. The antctl tool is expected to support the -d (path) flag according to https://github.com/antrea-io/antrea/blob/main/docs/antctl.md#collecting-support-information, but it is not working on Windows.

To Reproduce

  1. Run the following command in Windows:
.\antctl.exe supportbundle -d C:\var\log\antrea\
  1. The following error is observed:
Error: unknown shorthand flag: 'd' in -d

Expected The command should allow the user to specify a path to save the support bundle file on Windows using the -d flag.

Actual behavior An error is thrown when trying to use the -d flag in Windows: Error: unknown shorthand flag: 'd' in -d

Versions: Antrea V2.1

XinShuYang avatar Sep 24 '24 05:09 XinShuYang