Logo ROOT  
Reference Guide
root-argparse.py
Go to the documentation of this file.
1import argparse
2
4 parser = argparse.ArgumentParser(add_help=False, prog='root',
5 description = """ROOTs Object-Oriented Technologies.\n
6root is an interactive interpreter of C++ code. It uses the ROOT framework. For more information on ROOT, please refer to\n
7An extensive Users Guide is available from that site (see below).
8""")
9 parser.add_argument('-b', help='Run in batch mode without graphics')
10 parser.add_argument('-x', help='Exit on exceptions')
11 parser.add_argument('-e', help='Execute the command passed between single quotes')
12 parser.add_argument('-n', help='Do not execute logon and logoff macros as specified in .rootrc')
13 parser.add_argument('-t', help='Enable thread-safety and implicit multi-threading (IMT)')
14 parser.add_argument('-q', help='Exit after processing command line macro files')
15 parser.add_argument('-l', help='Do not show the ROOT banner')
16 parser.add_argument('-a', help='Show the ROOT splash screen')
17 parser.add_argument('-config', help='print ./configure options')
18 parser.add_argument('-memstat', help='run with memory usage monitoring')
19 parser.add_argument('-h','-?', '--help', help='Show summary of options')
20 parser.add_argument('--version', help='Show the ROOT version')
21 parser.add_argument('--notebook', help='Execute ROOT notebook')
22 parser.add_argument('--web', help='Display graphics in a default web browser')
23 parser.add_argument('--web=<browser>', help='Display graphics in specified web browser')
24 parser.add_argument('[dir]', help='if dir is a valid directory cd to it before executing')
25 parser.add_argument('[file:data.root]', help='Open the ROOT file data.root')
26 parser.add_argument('[file1.C...fileN.C]', help='Execute the the ROOT macro file1.C ... fileN.C')
27 return parser
def get_argparse()
Definition: root-argparse.py:3