parser=argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter,description='Replace a file descriptor of a debugged process.\n\nThe new file descriptor can point to:\n- a file\n- a pipe\n- a socket\n- a device, etc.\n\nExamples:\n1. Redirect STDOUT to a file:\n `hijack-fd 1 /dev/null`\n\n2. Redirect STDERR to a socket:\n `hijack-fd 2 tcp://localhost:8888`\n')module-attribute¶