@@ -2660,7 +2660,7 @@ def do_alias(self, args: argparse.Namespace) -> None:
26602660 " alias create show_log !cat \" log file.txt\" \n "
26612661 " alias create save_results print_results \" >\" out.txt\n " )
26622662
2663- alias_create_parser = DEFAULT_ARGUMENT_PARSER ('create' , add_help = False , description = alias_create_description ,
2663+ alias_create_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = alias_create_description ,
26642664 epilog = alias_create_epilog )
26652665 alias_create_parser .add_argument ('name' , help = 'name of this alias' )
26662666 alias_create_parser .add_argument ('command' , help = 'what the alias resolves to' ,
@@ -2705,7 +2705,7 @@ def _alias_create(self, args: argparse.Namespace) -> None:
27052705 alias_delete_help = "delete aliases"
27062706 alias_delete_description = "Delete specified aliases or all aliases if --all is used"
27072707
2708- alias_delete_parser = DEFAULT_ARGUMENT_PARSER ('delete' , add_help = False , description = alias_delete_description )
2708+ alias_delete_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = alias_delete_description )
27092709 alias_delete_parser .add_argument ('names' , nargs = argparse .ZERO_OR_MORE , help = 'alias(es) to delete' ,
27102710 choices_method = _get_alias_completion_items , descriptive_header = 'Value' )
27112711 alias_delete_parser .add_argument ('-a' , '--all' , action = 'store_true' , help = "delete all aliases" )
@@ -2733,7 +2733,7 @@ def _alias_delete(self, args: argparse.Namespace) -> None:
27332733 "\n "
27342734 "Without arguments, all aliases will be listed." )
27352735
2736- alias_list_parser = DEFAULT_ARGUMENT_PARSER ('list' , add_help = False , description = alias_list_description )
2736+ alias_list_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = alias_list_description )
27372737 alias_list_parser .add_argument ('names' , nargs = argparse .ZERO_OR_MORE , help = 'alias(es) to list' ,
27382738 choices_method = _get_alias_completion_items , descriptive_header = 'Value' )
27392739
@@ -2811,7 +2811,7 @@ def do_macro(self, args: argparse.Namespace) -> None:
28112811 " Because macros do not resolve until after hitting Enter, tab completion\n "
28122812 " will only complete paths while typing a macro." )
28132813
2814- macro_create_parser = DEFAULT_ARGUMENT_PARSER ('create' , add_help = False , description = macro_create_description ,
2814+ macro_create_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = macro_create_description ,
28152815 epilog = macro_create_epilog )
28162816 macro_create_parser .add_argument ('name' , help = 'name of this macro' )
28172817 macro_create_parser .add_argument ('command' , help = 'what the macro resolves to' ,
@@ -2902,7 +2902,7 @@ def _macro_create(self, args: argparse.Namespace) -> None:
29022902 # macro -> delete
29032903 macro_delete_help = "delete macros"
29042904 macro_delete_description = "Delete specified macros or all macros if --all is used"
2905- macro_delete_parser = DEFAULT_ARGUMENT_PARSER ('delete' , add_help = False , description = macro_delete_description )
2905+ macro_delete_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = macro_delete_description )
29062906 macro_delete_parser .add_argument ('names' , nargs = argparse .ZERO_OR_MORE , help = 'macro(s) to delete' ,
29072907 choices_method = _get_macro_completion_items , descriptive_header = 'Value' )
29082908 macro_delete_parser .add_argument ('-a' , '--all' , action = 'store_true' , help = "delete all macros" )
@@ -2930,7 +2930,7 @@ def _macro_delete(self, args: argparse.Namespace) -> None:
29302930 "\n "
29312931 "Without arguments, all macros will be listed." )
29322932
2933- macro_list_parser = DEFAULT_ARGUMENT_PARSER ('list' , add_help = False , description = macro_list_description )
2933+ macro_list_parser = DEFAULT_ARGUMENT_PARSER (add_help = False , description = macro_list_description )
29342934 macro_list_parser .add_argument ('names' , nargs = argparse .ZERO_OR_MORE , help = 'macro(s) to list' ,
29352935 choices_method = _get_macro_completion_items , descriptive_header = 'Value' )
29362936
0 commit comments