tools/cygprofile/patch_orderfile.py
def _CreateArgumentParser():
  """Creates and returns the argument parser."""
  parser = argparse.ArgumentParser()
  parser.add_argument('--target-arch', help='Unused')
  parser.add_argument('--unpatched-orderfile', required=True,
                      help='Path to the unpatched orderfile')
  parser.add_argument('--native-library', required=True,
                      help='Path to the native library')
  parser.add_argument('--output-file', required=True, help='Output filename')
  return parser
Creates and returns the argument parser.
Creates and returns the argument parser.
Creates and returns the argument parser .
def _CreateArgumentParser():
  parser = argparse.ArgumentParser()
  parser.add_argument('--target-arch', help='Unused')
  parser.add_argument('--unpatched-orderfile', required=True,
                      help='Path to the unpatched orderfile')
  parser.add_argument('--native-library', required=True,
                      help='Path to the native library')
  parser.add_argument('--output-file', required=True, help='Output filename')
  return parser
def _CreateArgumentParser ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( '--target-arch' , help = 'Unused' ) parser . add_argument ( '--unpatched-orderfile' , required = True , help = 'Path to the unpatched orderfile' ) parser . add_argument ( '--native-library' , required = True , help = 'Path to the native library' ) parser . add_argument ( '--output-file' , required = True , help = 'Output filename' ) return parser
Creates and returns the argument parser.
Creates and returns the argument parser .
"""Creates and returns the argument parser."""