Skip to content

Commit

Permalink
Add ./ in the examples of running the script
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwei Ye authored and Shuwei Ye committed Feb 6, 2024
1 parent fcdedd5 commit 60c54b3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions run-atlas_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -721,17 +721,17 @@ def main():
example_global = """Examples:
%s list AthAnalysis
%s list AthAnalysis,"21.2.2*"
%s list AthAnalysis,24,alma9
%s AnalysisBase:latest
%s # Empty arg to rerun the already setup container
%s setup AnalysisBase,21.2.132""" % ((myScript,)*6)
./%s list AthAnalysis
./%s list AthAnalysis,"21.2.2*"
./%s list AthAnalysis,24,alma9
./%s AnalysisBase:latest
./%s # Empty arg to rerun the already setup container
./%s setup AnalysisBase,21.2.132""" % ((myScript,)*6)
example_setup = """Examples:
%s AnalysisBase,21.2.132
%s --sing AnalysisBase,21.2.132""" % (myScript, myScript)
./%s AnalysisBase,21.2.132
/.%s --sing AnalysisBase,21.2.132""" % (myScript, myScript)
parser = argparse.ArgumentParser(epilog=example_global, usage='%(prog)s [options]', formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--shellFilename', action='store', help=argparse.SUPPRESS)
Expand Down
16 changes: 8 additions & 8 deletions run-atlas_container.sh-dockerhub
Original file line number Diff line number Diff line change
Expand Up @@ -697,17 +697,17 @@ def main():
example_global = """Examples:
%s list AthAnalysis
%s list AthAnalysis,"21.2.2*"
%s list AthAnalysis,22.2
%s AnalysisBase:latest
%s # Empty arg to rerun the already setup container
%s setup AnalysisBase,21.2.132""" % ((myScript,)*6)
./%s list AthAnalysis
./%s list AthAnalysis,"21.2.2*"
./%s list AthAnalysis,22.2
./%s AnalysisBase:latest
./%s # Empty arg to rerun the already setup container
./%s setup AnalysisBase,21.2.132""" % ((myScript,)*6)
example_setup = """Examples:
%s AnalysisBase,21.2.132
%s --sing AnalysisBase,21.2.132""" % (myScript, myScript)
./%s AnalysisBase,21.2.132
./%s --sing AnalysisBase,21.2.132""" % (myScript, myScript)
parser = argparse.ArgumentParser(epilog=example_global, usage='%(prog)s [options]', formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--shellFilename', action='store', help=argparse.SUPPRESS)
Expand Down

0 comments on commit 60c54b3

Please sign in to comment.