Re: [PATCH] scncopy: Fix a typo and add "-a" in --help.

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


On 01/12/2010 12:37 PM, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jan 12, 2010 at 11:36:18AM -0500, Peter Jones escreveu:
>> "-s section 0" doesn't really read the same as "-s section0"...
>> ---
>>  scncopy.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/scncopy.c b/scncopy.c
>> index 38aaa9a..067662c 100644
>> --- a/scncopy.c
>> +++ b/scncopy.c
>> @@ -66,7 +66,7 @@ int main(int argc, char *argv[])
>>  			outfile = argv[n];
>>  			continue;
>>  		} else if (!strcmp(argv[n], "-?") || !strcmp(argv[n],"--usage")) {
>> -			printf("usage: pjoc -s section 0 [[-s section1] ... -s sectionN] -o outfile infile\n");
>> +			printf("usage: pjoc [-s section0 [[-s section1] ... -s sectionN] | -a ] -o outfile infile\n");
> 
> Could you please merge these two patches and also replace "pjoc" with
> "scncopy"?

Er, yes ;)

> 
>>  			return 0;
>>  		} else if (n == argc-1) {
>>  			infile = argv[n];
> 
> - Arnaldo


-- 
        Peter

Computers have already beaten communists at chess.  The next thing you
know, they'll be beating humans.
		-- Dale
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux