mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
I miscalculated on this one, change it back
This commit is contained in:
parent
82d2cd4ead
commit
4d4ef19c76
@ -80,6 +80,7 @@ static struct BB_suid_config *suid_config;
|
|||||||
|
|
||||||
extern void show_usage(void)
|
extern void show_usage(void)
|
||||||
{
|
{
|
||||||
|
const char *format_string;
|
||||||
const char *usage_string = usage_messages;
|
const char *usage_string = usage_messages;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -89,11 +90,11 @@ extern void show_usage(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(*usage_string == '\b') {
|
format_string = "%s\n\nUsage: %s %s\n\n";
|
||||||
fprintf(stderr, "%s\n\nNo help available.\n\n", full_version);
|
if(*usage_string == '\b')
|
||||||
} else {
|
format_string = "%s\n\nNo help available.\n\n";
|
||||||
fprintf(stderr, "%s\n\nUsage: %s %s\n\n", full_version, applet_using->name, usage_string);
|
fprintf(stderr, format_string, full_version, applet_using->name, usage_string);
|
||||||
}
|
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user