From d039ad44014dc95a2c3c94d57538a3d2d7ce7bcf Mon Sep 17 00:00:00 2001 From: Olivier Couet <olivier.couet@cern.ch> Date: Wed, 4 Nov 2015 09:26:24 +0100 Subject: [PATCH] Fix typo in the help (roo --> root) --- main/python/rootbrowse.py | 4 ++-- main/python/rootcp.py | 8 ++++---- main/python/rooteventselector.py | 10 +++++----- main/python/rootmkdir.py | 8 ++++---- main/python/rootmv.py | 8 ++++---- main/python/rootprint.py | 8 ++++---- main/python/rootrm.py | 8 ++++---- 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/main/python/rootbrowse.py b/main/python/rootbrowse.py index 1db2e7c4589..e6f9bc4dd77 100755 --- a/main/python/rootbrowse.py +++ b/main/python/rootbrowse.py @@ -14,10 +14,10 @@ import sys COMMAND_HELP = "Open a ROOT file in a TBrowser" EPILOG = """Examples: -- roobrowse +- rootbrowse Open a TBrowser -- roobrowse file.root +- rootbrowse file.root Open the ROOT file 'file.root' in a TBrowser """ diff --git a/main/python/rootcp.py b/main/python/rootcp.py index e34ab38a85a..583c8c56310 100755 --- a/main/python/rootcp.py +++ b/main/python/rootcp.py @@ -14,16 +14,16 @@ import sys COMMAND_HELP = "Copy objects from ROOT files into an other" 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'. -- 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'. -- 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. -- 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. """ diff --git a/main/python/rooteventselector.py b/main/python/rooteventselector.py index e89a79c5b46..e8266351de6 100755 --- a/main/python/rooteventselector.py +++ b/main/python/rooteventselector.py @@ -17,19 +17,19 @@ FIRST_EVENT_HELP = "specify the first event to copy" LAST_EVENT_HELP = "specify the last event to copy" EPILOG="""Examples: -- rooeventselector source.root:tree dest.root +- rooteventselector source.root:tree 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. -- 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. -- 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'. -- 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. """ diff --git a/main/python/rootmkdir.py b/main/python/rootmkdir.py index 1e3fb25f7c5..d021465d6ec 100755 --- a/main/python/rootmkdir.py +++ b/main/python/rootmkdir.py @@ -16,16 +16,16 @@ COMMAND_HELP = "Add directories in ROOT files" PARENT_HELP = "make parent directories as needed, no error if existing." EPILOG="""Examples: -- roomkdir example.root:dir +- rootmkdir example.root:dir 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' -- 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 -- roomkdir example.root +- rootmkdir example.root Create an empty ROOT file named 'example.root' """ diff --git a/main/python/rootmv.py b/main/python/rootmv.py index 35d8a088ca9..9e26cd95f00 100755 --- a/main/python/rootmv.py +++ b/main/python/rootmv.py @@ -14,16 +14,16 @@ import sys COMMAND_HELP = "Move objects from ROOT files to another" 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'. -- 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'. -- 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. -- 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. """ diff --git a/main/python/rootprint.py b/main/python/rootprint.py index 29f98b51b6d..337ae279f34 100755 --- a/main/python/rootprint.py +++ b/main/python/rootprint.py @@ -23,16 +23,16 @@ STYLE_HELP = "specify a C file name which define a style" VERBOSE_HELP = "print informations about the running" EPILOG = """Examples: -- rooprint example.root:hist +- rootprint example.root: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). -- rooprint -f png example.root:hist +- rootprint -f png example.root: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. """ diff --git a/main/python/rootrm.py b/main/python/rootrm.py index ef8e6e16f3c..4593f8f1675 100755 --- a/main/python/rootrm.py +++ b/main/python/rootrm.py @@ -14,16 +14,16 @@ import sys COMMAND_HELP = "Remove objects from ROOT files" EPILOG = """Examples: -- roorm example.root:hist +- rootrm example.root:hist 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' -- roorm example.root +- rootrm 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) :' """ -- GitLab