mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 20:00:48 +00:00
quorum-tools: fix options/help text
Reviewed-by: Steven Dake <sdake@redhat.com> Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
This commit is contained in:
parent
c317ee433f
commit
2866387956
@ -72,7 +72,7 @@ static void show_usage(const char *name)
|
||||
printf(" -v <votes> change the number of votes for a node *\n");
|
||||
printf(" -n <nodeid> optional nodeid of node for -v\n");
|
||||
printf(" -e <expected> change expected votes for the cluster *\n");
|
||||
printf(" -h show nodeids in hexadecimal rather than decimal\n");
|
||||
printf(" -H show nodeids in hexadecimal rather than decimal\n");
|
||||
printf(" -i show node IP addresses instead of the resolved name\n");
|
||||
printf(" -h show this help text\n");
|
||||
printf("\n");
|
||||
@ -438,7 +438,7 @@ int main (int argc, char *argv[]) {
|
||||
case 'i':
|
||||
address_format = ADDRESS_FORMAT_IP;
|
||||
break;
|
||||
case 'h':
|
||||
case 'H':
|
||||
nodeid_format = NODEID_FORMAT_HEX;
|
||||
break;
|
||||
case 'l':
|
||||
@ -480,7 +480,7 @@ int main (int argc, char *argv[]) {
|
||||
exit(2);
|
||||
}
|
||||
break;
|
||||
case 'H':
|
||||
case 'h':
|
||||
case '?':
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user