@@ -56,12 +56,15 @@ def get_text(node):
5656 ('.//h1' , 'blah-blah' , False ),
5757 (".//div[@class='highlight']//span" , 'usage' ),
5858 ('.//h2' , 'Positional Arguments' ),
59- (".//section[@id='positional-arguments']" , '' ),
60- (".//section[@id='positional-arguments']/dl/dt[1]/kbd" , 'foo2 metavar' ),
61- (".//section[@id='named-arguments']" , '' ),
62- (".//section[@id='named-arguments']/dl/dt[1]/kbd" , '--foo' ),
63- (".//section[@id='bar-options']" , '' ),
64- (".//section[@id='bar-options']/dl/dt[1]/kbd" , '--bar' ),
59+ (".//section[@id='get_parser-positional-arguments']" , '' ),
60+ (
61+ ".//section[@id='get_parser-positional-arguments']/dl/dt[1]/kbd" ,
62+ 'foo2 metavar' ,
63+ ),
64+ (".//section[@id='get_parser-named-arguments']" , '' ),
65+ (".//section[@id='get_parser-named-arguments']/dl/dt[1]/kbd" , '--foo' ),
66+ (".//section[@id='get_parser-bar-options']" , '' ),
67+ (".//section[@id='get_parser-bar-options']/dl/dt[1]/kbd" , '--bar' ),
6568 ],
6669 ),
6770 (
@@ -71,8 +74,8 @@ def get_text(node):
7174 ('.//h1' , 'Command A' ),
7275 (".//div[@class='highlight']//span" , 'usage' ),
7376 ('.//h2' , 'Positional Arguments' ),
74- (".//section[@id='positional-arguments']" , '' ),
75- (".//section[@id='positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
77+ (".//section[@id='get_parser- positional-arguments']" , '' ),
78+ (".//section[@id='get_parser- positional-arguments']/dl/dt[1]/kbd" , 'baz' ),
7679 ],
7780 ),
7881 (
0 commit comments