ROOT
6.16/01
Reference Guide
core
base
src
root-argparse.py
Go to the documentation of this file.
1
import
argparse
2
import
sys
3
4
def
get_argparse
():
5
parser = argparse.ArgumentParser(add_help=
False
, prog=
'root'
,
6
description =
"""ROOTs Object-Oriented Technologies.\n
7
root is an interactive interpreter of C++ code. It uses the ROOT framework. For more information on ROOT, please refer to\n
8
An extensive Users Guide
is
available
from
that site (see below).
9
""")
10
parser.add_argument('-b', help='Run in batch mode without graphics')
11
parser.add_argument('-x', help='Exit on exceptions')
12
parser.add_argument('-e', help='Execute the command passed between single quotes')
13
parser.add_argument('-n', help='Do not execute logon and logoff macros as specified in .rootrc')
14
parser.add_argument('-t', help='Enable thread-safety and implicit multi-threading (IMT)')
15
parser.add_argument('-q', help='Exit after processing command line macro files')
16
parser.add_argument('-l', help='Do not show 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('--notebook', help='Execute ROOT notebook')
21
parser.add_argument('--web', help='Display graphics in a web browser')
22
parser.add_argument('dir', help='if dir is a valid directory cd to it before executing')
23
return parser
root-argparse.get_argparse
def get_argparse()
Definition:
root-argparse.py:4