Skip to content

Commit

Permalink
BF when restrictScope is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienRietteMTO committed Oct 15, 2024
1 parent bba54a4 commit f4387f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyft/scripting.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def updateParser(parser, withInput, withOutput, withXml, withPlotCentralFile, tr
'part, it applies to all source code).')

if restrictScope:
parser.add_argument('--restrictScope', default=None, type=str, metavar='SCOPEPATH',
parser.add_argument('--restrictScope', default='', type=str, metavar='SCOPEPATH',
help="Limit the action to this scope path (SUBROUTINE/FUNCTION/" +
"MODULE/TYPE). It is '/'-separated path with each element " +
"having the form 'module:<name of the module>', " +
Expand Down

0 comments on commit f4387f0

Please sign in to comment.