antrea
antrea copied to clipboard
antctl.exe supportbundle command doesn't support path flag on Windows
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
- Run the following command in Windows:
.\antctl.exe supportbundle -d C:\var\log\antrea\
- 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