Skip to content

Commit

Permalink
docs: update help argument for extra-profile-func
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Aug 15, 2022
1 parent 08b2427 commit 8df282c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/hera-sim-vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ def cprint(*args, **kwargs):
help="If given, do line-profiling on the simulation, and output to given file.",
)
parser.add_argument(
"-p", "--extra-profile-func", type=str, action="append", dest="profile_funcs"
"-p",
"--extra-profile-func",
type=str,
action="append",
dest="profile_funcs",
help=(
"Extra functions to profile. Can be given multiple times. Each must be a "
"fully-qualified path to a function or method, eg. package.module:function "
"or package.module:Class.method"
),
)
args = parser.parse_args()

Expand Down

0 comments on commit 8df282c

Please sign in to comment.