@@ -339,7 +339,7 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
339339 self .default_sort_key = Cmd .ALPHABETICAL_SORT_KEY
340340
341341 ############################################################################################################
342- # The following variables are used by tab- completion functions. They are reset each time complete() is run
342+ # The following variables are used by tab completion functions. They are reset each time complete() is run
343343 # in _reset_completion_defaults() and it is up to completer functions to set them before returning results.
344344 ############################################################################################################
345345
@@ -351,14 +351,14 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
351351 # will be added if there is an unmatched opening quote
352352 self .allow_closing_quote = True
353353
354- # An optional header that prints above the tab- completion suggestions
354+ # An optional header that prints above the tab completion suggestions
355355 self .completion_header = ''
356356
357357 # Used by complete() for readline tab completion
358358 self .completion_matches = []
359359
360360 # Use this list if you are completing strings that contain a common delimiter and you only want to
361- # display the final portion of the matches as the tab- completion suggestions. The full matches
361+ # display the final portion of the matches as the tab completion suggestions. The full matches
362362 # still must be returned from your completer function. For an example, look at path_complete()
363363 # which uses this to show only the basename of paths as the suggestions. delimiter_complete() also
364364 # populates this list.
@@ -939,7 +939,7 @@ def complete_users() -> List[str]:
939939 # Build display_matches and add a slash to directories
940940 for index , cur_match in enumerate (matches ):
941941
942- # Display only the basename of this path in the tab- completion suggestions
942+ # Display only the basename of this path in the tab completion suggestions
943943 self .display_matches .append (os .path .basename (cur_match ))
944944
945945 # Add a separator after directories if the next character isn't already a separator
@@ -1430,7 +1430,7 @@ def _complete_argparse_command(self, text: str, line: str, begidx: int, endidx:
14301430 completer = ArgparseCompleter (argparser , self )
14311431 tokens , raw_tokens = self .tokens_for_completion (line , begidx , endidx )
14321432
1433- # To have tab- completion parsing match command line parsing behavior,
1433+ # To have tab completion parsing match command line parsing behavior,
14341434 # use preserve_quotes to determine if we parse the quoted or unquoted tokens.
14351435 tokens_to_parse = raw_tokens if preserve_quotes else tokens
14361436 return completer .complete_command (tokens_to_parse , text , line , begidx , endidx )
@@ -2830,7 +2830,7 @@ def complete_set_value(self, text: str, line: str, begidx: int, endidx: int,
28302830 settable_parser = DEFAULT_ARGUMENT_PARSER (parents = [Cmd .set_parser_parent ])
28312831
28322832 # Settables with choices list the values of those choices instead of the arg name
2833- # in help text and this shows in tab- completion hints. Set metavar to avoid this.
2833+ # in help text and this shows in tab completion hints. Set metavar to avoid this.
28342834 arg_name = 'value'
28352835 settable_parser .add_argument (arg_name , metavar = arg_name , help = settable .description ,
28362836 choices = settable .choices ,
0 commit comments