Commit 40f4dab0 authored by Rémi Duraffort's avatar Rémi Duraffort

zsh: fix 2b068d3a (NULL printed).

parent 089821fb
...@@ -441,7 +441,8 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive, ...@@ -441,7 +441,8 @@ void PrintOption( char *psz_option, char i_short, char *psz_exclusive,
printf( ":%s:%s\"\\\n", psz_longtext, psz_args ); printf( ":%s:%s\"\\\n", psz_longtext, psz_args );
else else
printf( "\"\\\n" ); printf( "\"\\\n" );
printf( " \"(--%s%s)-%c[%s]", psz_option, psz_exclusive,
printf( " \"(--%s%s)-%c[%s]", psz_option, psz_exclusive ? psz_exclusive : "",
i_short, psz_text ); i_short, psz_text );
if( psz_args ) if( psz_args )
printf( ":%s:%s\"\\\n", psz_longtext, psz_args ); printf( ":%s:%s\"\\\n", psz_longtext, psz_args );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment