Re: [PATCH 1/6] quorum-tools: fix options/help text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 12/12/2011 06:00 AM, Fabio M. Di Nitto wrote:
> From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx>
> 
> Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx>
> ---
> :100644 100644 47a5686... 768ab55... M	tools/corosync-quorumtool.c
>  tools/corosync-quorumtool.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tools/corosync-quorumtool.c b/tools/corosync-quorumtool.c
> index 47a5686..768ab55 100644
> --- a/tools/corosync-quorumtool.c
> +++ b/tools/corosync-quorumtool.c
> @@ -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;

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux