Skip to content
Snippets Groups Projects
Commit d039ad44 authored by Olivier Couet's avatar Olivier Couet
Browse files

Fix typo in the help (roo --> root)

parent a6ba240d
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ import sys ...@@ -14,10 +14,10 @@ import sys
COMMAND_HELP = "Open a ROOT file in a TBrowser" COMMAND_HELP = "Open a ROOT file in a TBrowser"
EPILOG = """Examples: EPILOG = """Examples:
- roobrowse - rootbrowse
Open a TBrowser Open a TBrowser
- roobrowse file.root - rootbrowse file.root
Open the ROOT file 'file.root' in a TBrowser Open the ROOT file 'file.root' in a TBrowser
""" """
......
...@@ -14,16 +14,16 @@ import sys ...@@ -14,16 +14,16 @@ import sys
COMMAND_HELP = "Copy objects from ROOT files into an other" COMMAND_HELP = "Copy objects from ROOT files into an other"
EPILOG = """Examples: EPILOG = """Examples:
- roocp source.root:hist* dest.root - rootcp source.root:hist* dest.root
Copy all histograms whose named starts with 'hist' from 'source.root' to 'dest.root'. Copy all histograms whose named starts with 'hist' from 'source.root' to 'dest.root'.
- roocp source1.root:hist1 source2.root:hist2 dest.root - rootcp source1.root:hist1 source2.root:hist2 dest.root
Copy histograms 'hist1' from 'source1.root' and 'hist2' from 'source2.root' to 'dest.root'. Copy histograms 'hist1' from 'source1.root' and 'hist2' from 'source2.root' to 'dest.root'.
- roocp --recreate source.root:hist dest.root - rootcp --recreate source.root:hist dest.root
Recreate the destination file 'dest.root' and copy the histogram named 'hist' from 'source.root' into it. Recreate the destination file 'dest.root' and copy the histogram named 'hist' from 'source.root' into it.
- roocp -c 1 source.root:hist dest.root - rootcp -c 1 source.root:hist dest.root
Change the compression factor of the destination file 'dest.root' if not existing and copy the histogram named 'hist' from 'source.root' into it. Change the compression factor of the destination file 'dest.root' if not existing and copy the histogram named 'hist' from 'source.root' into it.
""" """
......
...@@ -17,19 +17,19 @@ FIRST_EVENT_HELP = "specify the first event to copy" ...@@ -17,19 +17,19 @@ FIRST_EVENT_HELP = "specify the first event to copy"
LAST_EVENT_HELP = "specify the last event to copy" LAST_EVENT_HELP = "specify the last event to copy"
EPILOG="""Examples: EPILOG="""Examples:
- rooeventselector source.root:tree dest.root - rooteventselector source.root:tree dest.root
Copy the tree 'tree' from 'source.root' to 'dest.root'. Copy the tree 'tree' from 'source.root' to 'dest.root'.
- rooeventselector -f 101 source.root:tree dest.root - rooteventselector -f 101 source.root:tree dest.root
Copy a subset of the tree 'tree' from 'source.root' to 'dest.root'. The new tree contains events from the old tree except the first hundred. Copy a subset of the tree 'tree' from 'source.root' to 'dest.root'. The new tree contains events from the old tree except the first hundred.
- rooeventselector -l 100 source.root:tree dest.root - rooteventselector -l 100 source.root:tree dest.root
Copy a subset of the tree 'tree' from 'source.root' to 'dest.root'. The new tree contains the first hundred events from the old tree. Copy a subset of the tree 'tree' from 'source.root' to 'dest.root'. The new tree contains the first hundred events from the old tree.
- rooeventselector --recreate source.root:tree dest.root - rooteventselector --recreate source.root:tree dest.root
Recreate the destination file 'dest.root' and copy the tree 'tree' from 'source.root' to 'dest.root'. Recreate the destination file 'dest.root' and copy the tree 'tree' from 'source.root' to 'dest.root'.
- rooeventselector -c 1 source.root:tree dest.root - rooteventselector -c 1 source.root:tree dest.root
Change the compression factor of the destination file 'dest.root' and copy the tree 'tree' from 'source.root' to 'dest.root'. For more information about compression settings of ROOT file, please look at the reference guide available on the ROOT site. Change the compression factor of the destination file 'dest.root' and copy the tree 'tree' from 'source.root' to 'dest.root'. For more information about compression settings of ROOT file, please look at the reference guide available on the ROOT site.
""" """
......
...@@ -16,16 +16,16 @@ COMMAND_HELP = "Add directories in ROOT files" ...@@ -16,16 +16,16 @@ COMMAND_HELP = "Add directories in ROOT files"
PARENT_HELP = "make parent directories as needed, no error if existing." PARENT_HELP = "make parent directories as needed, no error if existing."
EPILOG="""Examples: EPILOG="""Examples:
- roomkdir example.root:dir - rootmkdir example.root:dir
Add the directory 'dir' to the ROOT file 'example.root' Add the directory 'dir' to the ROOT file 'example.root'
- roomkdir example.root:dir1/dir2 - rootmkdir example.root:dir1/dir2
Add the directory 'dir2' in 'dir1' which is into the ROOT file 'example.root' Add the directory 'dir2' in 'dir1' which is into the ROOT file 'example.root'
- roomkdir -p example.root:dir1/dir2/dir3 - rootmkdir -p example.root:dir1/dir2/dir3
Make parent directories of 'dir3' as needed, no error if existing Make parent directories of 'dir3' as needed, no error if existing
- roomkdir example.root - rootmkdir example.root
Create an empty ROOT file named 'example.root' Create an empty ROOT file named 'example.root'
""" """
......
...@@ -14,16 +14,16 @@ import sys ...@@ -14,16 +14,16 @@ import sys
COMMAND_HELP = "Move objects from ROOT files to another" COMMAND_HELP = "Move objects from ROOT files to another"
EPILOG = """Examples: EPILOG = """Examples:
- roomv source.root:hist* dest.root - rootmv source.root:hist* dest.root
Move all histograms whose named starts with 'hist' from 'source.root' to 'dest.root'. Move all histograms whose named starts with 'hist' from 'source.root' to 'dest.root'.
- roomv source1.root:hist1 source2.root:hist2 dest.root - rootmv source1.root:hist1 source2.root:hist2 dest.root
Move histograms 'hist1' from 'source1.root' and 'hist2' from 'source2.root' to 'dest.root'. Move histograms 'hist1' from 'source1.root' and 'hist2' from 'source2.root' to 'dest.root'.
- roomv --recreate source.root:hist dest.root - rootmv --recreate source.root:hist dest.root
Recreate the destination file 'dest.root' and move the histogram named 'hist' from 'source.root' into it. Recreate the destination file 'dest.root' and move the histogram named 'hist' from 'source.root' into it.
- roomv -c 1 source.root:hist dest.root - rootmv -c 1 source.root:hist dest.root
Change the compression level of the destination file 'dest.root' and move the histogram named 'hist' from 'source.root' into it. For more information about compression settings of ROOT file, please look at the reference guide available on the ROOT site. Change the compression level of the destination file 'dest.root' and move the histogram named 'hist' from 'source.root' into it. For more information about compression settings of ROOT file, please look at the reference guide available on the ROOT site.
""" """
......
...@@ -23,16 +23,16 @@ STYLE_HELP = "specify a C file name which define a style" ...@@ -23,16 +23,16 @@ STYLE_HELP = "specify a C file name which define a style"
VERBOSE_HELP = "print informations about the running" VERBOSE_HELP = "print informations about the running"
EPILOG = """Examples: EPILOG = """Examples:
- rooprint example.root:hist - rootprint example.root:hist
Create a pdf file named 'hist.pdf' which contain the histogram 'hist'. Create a pdf file named 'hist.pdf' which contain the histogram 'hist'.
- rooprint -d histograms example.root:hist - rootprint -d histograms example.root:hist
Create a pdf file named 'hist.pdf' which contain the histogram 'hist' and put it in the directory 'histograms' (create it if not already exists). Create a pdf file named 'hist.pdf' which contain the histogram 'hist' and put it in the directory 'histograms' (create it if not already exists).
- rooprint -f png example.root:hist - rootprint -f png example.root:hist
Create a png file named 'hist.png' which contain the histogram 'hist'. Create a png file named 'hist.png' which contain the histogram 'hist'.
- rooprint -o histograms.pdf example.root:hist* - rootprint -o histograms.pdf example.root:hist*
Create a pdf file named 'histograms.pdf' which contain all histograms whose name starts with 'hist'. It works also with postscript. Create a pdf file named 'histograms.pdf' which contain all histograms whose name starts with 'hist'. It works also with postscript.
""" """
......
...@@ -14,16 +14,16 @@ import sys ...@@ -14,16 +14,16 @@ import sys
COMMAND_HELP = "Remove objects from ROOT files" COMMAND_HELP = "Remove objects from ROOT files"
EPILOG = """Examples: EPILOG = """Examples:
- roorm example.root:hist - rootrm example.root:hist
Remove the object 'hist' from the ROOT file 'example.root' Remove the object 'hist' from the ROOT file 'example.root'
- roorm example.root:dir/hist - rootrm example.root:dir/hist
Remove the object 'hist' from the direcory 'dir' inside the ROOT file 'example.root' Remove the object 'hist' from the direcory 'dir' inside the ROOT file 'example.root'
- roorm example.root - rootrm example.root
Remove the ROOT file 'example.root' Remove the ROOT file 'example.root'
- roorm -i example.root:hist - rootrm -i example.root:hist
Display a confirmation request before deleting: 'remove 'hist' from 'example.root' ? (y/n) :' Display a confirmation request before deleting: 'remove 'hist' from 'example.root' ? (y/n) :'
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment