OS Manuals

/usr/bin/fixup_pubsub_v1_keywords.py

Wazuh Python framework and security library

From wazuh-manager-framework 4.14.10-r0 (enterprise-packages), captured 2026-11-08 by running fixup_pubsub_v1_keywords.py --help (exit 0). permalink

usage: fixup_pubsub_v1_keywords.py [-h] -d INPUT_DIR -o OUTPUT_DIR

Fix up source that uses the pubsub client library. The existing sources are NOT overwritten but
are copied to output_dir with changes made. Note: This tool operates at a best-effort level at
converting positional parameters in client method calls to keyword based parameters. Cases where
it WILL FAIL include A) * or ** expansion in a method call. B) Calls via function or method alias
(includes free function calls) C) Indirect or dispatched calls (e.g. the method is looked up
dynamically) These all constitute false negatives. The tool will also detect false positives when
an API method shares a name with another method.

options:
  -h, --help            show this help message and exit
  -d INPUT_DIR, --input-directory INPUT_DIR
                        the input directory to walk for python files to fix up
  -o OUTPUT_DIR, --output-directory OUTPUT_DIR
                        the directory to output files fixed via un-flattening
Options (1)
OptionDescriptionSource
-h, --helpshow this help message and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.