Merging upstream version 1.5.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f10fc87440
commit
adeb771590
11 changed files with 91 additions and 91 deletions
|
@ -176,7 +176,8 @@ static char parse_short_option( struct Arg_parser * const ap,
|
|||
|
||||
if( index < 0 )
|
||||
{
|
||||
add_error( ap, "invalid option -- " ); add_error( ap, code_str );
|
||||
add_error( ap, "invalid option -- '" ); add_error( ap, code_str );
|
||||
add_error( ap, "'" );
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -191,8 +192,8 @@ static char parse_short_option( struct Arg_parser * const ap,
|
|||
{
|
||||
if( !arg || !arg[0] )
|
||||
{
|
||||
add_error( ap, "option requires an argument -- " );
|
||||
add_error( ap, code_str );
|
||||
add_error( ap, "option requires an argument -- '" );
|
||||
add_error( ap, code_str ); add_error( ap, "'" );
|
||||
return 1;
|
||||
}
|
||||
++*argindp; cind = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue