ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
root-argparse.py
Go to the documentation of this file.
1
import
argparse
2
3
def
get_argparse
():
4
parser = argparse.ArgumentParser(add_help=
False
, prog=
'root'
,
5
description =
"""ROOTs Object-Oriented Technologies.\n
6
root is an interactive interpreter of C++ code. It uses the ROOT framework. For more information on ROOT, please refer to\n
7
An 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(
'-h'
,
'-?'
,
'--help'
, help=
'Show summary of options'
)
19
parser.add_argument(
'--version'
, help=
'Show the ROOT version'
)
20
parser.add_argument(
'--notebook'
, help=
'Execute ROOT notebook'
)
21
parser.add_argument(
'--web'
, help=
'Display graphics in a default web browser'
)
22
parser.add_argument(
'--web=<browser>'
, help=
'Display graphics in specified web browser'
)
23
parser.add_argument(
'[dir]'
, help=
'if dir is a valid directory cd to it before executing'
)
24
parser.add_argument(
'[file:data.root]'
, help=
'Open the ROOT file data.root'
)
25
parser.add_argument(
'[file1.C...fileN.C]'
, help=
'Execute the the ROOT macro file1.C ... fileN.C'
)
26
return
parser
root-argparse.get_argparse
get_argparse()
Definition
root-argparse.py:3
core
base
src
root-argparse.py
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:11 (GVA Time) using Doxygen 1.9.8