From 3bad45a933c9be015b610fe8b8779469054dab9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Thu, 20 Jan 2022 10:20:27 +0100 Subject: [PATCH] completions(bison): shorten descriptions Work on https://github.com/fish-shell/fish-shell/issues/6981 --- share/completions/bison.fish | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/share/completions/bison.fish b/share/completions/bison.fish index d7b50f891..ef2dc275d 100644 --- a/share/completions/bison.fish +++ b/share/completions/bison.fish @@ -5,19 +5,16 @@ # have been hand edited since. # -complete -c bison -s b -l file-prefix -d 'Specify a prefix to use for all bison output file names' -r - -complete -c bison -s d -d 'Write an extra output file containing macro definitions for the token type names defined in the grammar and the semantic value type YYSTYPE, as well as a few extern variable declarations' -complete -c bison -l defines -d 'The behavior of --defines is the same than -d option' -complete -c bison -s g -d 'Output a VCG definition of the LALR(1) grammar automaton com puted by Bison' -complete -c bison -l graph -d 'The behavior of --graph is the same than -g option' +complete -c bison -s b -l file-prefix -d 'Specify a prefix to use for all output file names' -r +complete -c bison -s d -l defines -d 'Generate file with macro definitions for token type names' +complete -c bison -s g -l graph -d 'Output a VCG definition of the LALR(1) grammar automaton' complete -c bison -s k -l token-table -d 'This switch causes the name' complete -c bison -s l -l no-lines -d 'Dont put any #line preprocessor commands in the parser file' -complete -c bison -s n -l no-parser -d 'Do not generate the parser code into the output; generate only declarations' +complete -c bison -s n -l no-parser -d "Generate only declarations, not parser code" complete -c bison -s o -l output -d 'Specify the name outfile for the parser file' -complete -c bison -s p -l name-prefix -d 'Rename the external symbols used in the parser so that they start with prefix instead of yy' -complete -c bison -s t -l debug -d 'In the parser file, define the macro YYDEBUG to 1 if it is not already defined, so that the debugging facilities are compiled' -complete -c bison -s v -l verbose -d 'Write an extra output file containing verbose descriptions of the parser states and what is done for each type of look-ahead token in that state' -complete -c bison -s V -l version -d 'Print the version number of bison and exit' -complete -c bison -s h -l help -d 'Print a summary of the options to bison and exit' +complete -c bison -s p -l name-prefix -d 'External symbols start with prefix instead of yy' +complete -c bison -s t -l debug -d 'Enable debugging facilities on compilation' +complete -c bison -s v -l verbose -d 'Generate file with descriptions of the parser states' +complete -c bison -s V -l version -d 'Print version number' +complete -c bison -s h -l help -d 'Print summary of the options' complete -c bison -s y -l yacc -l fixed-output-files -d 'Equivalent to -o y.tab.c'