Skip to content

Commit b43a5b0

Browse files
committed
Set min/max parameters for "set substitute"
1 parent 2fd7354 commit b43a5b0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

trepan/processor/command/set_subcmd/substitute.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ class SetSubstitute(Mbase_subcmd.DebuggerSubcommand):
4141
"""
4242

4343
in_list = True
44+
max_args = 2
45+
min_args = 2
4446
min_abbrev = len("sub")
47+
4548
short_help = "Set filename substitution"
4649

4750
def run(self, args):

0 commit comments

Comments
 (0)