@@ -253,7 +253,7 @@ fn complete_dynamic_env_toplevel() {
253253% exhaustive
254254--generate -- generate
255255--help -- Print help
256- help -- Print this message or the help of the given subcommand(s)
256+ help -- Print this message or the help of the given subcommand(s)
257257--empty-choice alias global last quote
258258action empty hint pacman value
259259"# ] ] ;
@@ -275,15 +275,21 @@ fn complete_dynamic_env_quoted_help() {
275275 let input = "exhaustive quote \t \t " ;
276276 let expected = snapbox:: str![ [ r#"
277277% exhaustive quote
278- --help -- Print help (see more with '--help')
279- cmd-backslash --backslash -- Avoid '/n'
280- cmd-backticks --backticks -- For more information see `echo test`
281- cmd-brackets --brackets -- List packages [filter]
282- cmd-double-quotes --double-quotes -- Can be "always", "auto", or "never"
283- cmd-expansions --expansions -- Execute the shell command with $SHELL
284- cmd-single-quotes --single-quotes -- Can be 'always', 'auto', or 'never'
285- escape-help -- /tab/t"'
286- help -- Print this message or the help of the given subcommand(s)
278+ --backslash -- Avoid '/n'
279+ --backticks -- For more information see `echo test`
280+ --brackets -- List packages [filter]
281+ --double-quotes -- Can be "always", "auto", or "never"
282+ --expansions -- Execute the shell command with $SHELL
283+ --help -- Print help (see more with '--help')
284+ --single-quotes -- Can be 'always', 'auto', or 'never'
285+ cmd-backslash -- Avoid '/n'
286+ cmd-backticks -- For more information see `echo test`
287+ cmd-brackets -- List packages [filter]
288+ cmd-double-quotes -- Can be "always", "auto", or "never"
289+ cmd-expansions -- Execute the shell command with $SHELL
290+ cmd-single-quotes -- Can be 'always', 'auto', or 'never'
291+ escape-help -- /tab "'
292+ help -- Print this message or the help of the given subcommand(s)
287293--choice
288294"# ] ] ;
289295 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
@@ -392,15 +398,21 @@ fn complete_dynamic_empty_space() {
392398 let input = "exhaustive quote -\x1b [D\x1b [D\t \t " ;
393399 let expected = snapbox:: str![ [ r#"
394400% exhaustive quote -
395- --help -- Print help (see more with '--help')
396- cmd-backslash --backslash -- Avoid '/n'
397- cmd-backticks --backticks -- For more information see `echo test`
398- cmd-brackets --brackets -- List packages [filter]
399- cmd-double-quotes --double-quotes -- Can be "always", "auto", or "never"
400- cmd-expansions --expansions -- Execute the shell command with $SHELL
401- cmd-single-quotes --single-quotes -- Can be 'always', 'auto', or 'never'
402- escape-help -- /tab/t"'
403- help -- Print this message or the help of the given subcommand(s)
401+ --backslash -- Avoid '/n'
402+ --backticks -- For more information see `echo test`
403+ --brackets -- List packages [filter]
404+ --double-quotes -- Can be "always", "auto", or "never"
405+ --expansions -- Execute the shell command with $SHELL
406+ --help -- Print help (see more with '--help')
407+ --single-quotes -- Can be 'always', 'auto', or 'never'
408+ cmd-backslash -- Avoid '/n'
409+ cmd-backticks -- For more information see `echo test`
410+ cmd-brackets -- List packages [filter]
411+ cmd-double-quotes -- Can be "always", "auto", or "never"
412+ cmd-expansions -- Execute the shell command with $SHELL
413+ cmd-single-quotes -- Can be 'always', 'auto', or 'never'
414+ escape-help -- /tab "'
415+ help -- Print this message or the help of the given subcommand(s)
404416--choice
405417"# ] ] ;
406418 let actual = runtime. complete ( input, & term) . unwrap ( ) ;
@@ -457,6 +469,7 @@ fn complete_dynamic_tagged_options() {
457469% zstyle ':completion:*' group-name ''
458470% zstyle ':completion:*:descriptions' format '%d'
459471% exhaustive -
472+ "Options" options
460473--generate -- generate
461474-h -- Print help
462475--empty-choice
0 commit comments