Dwarves Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] scncopy: Fix a typo and add "-a" in --help.
@ 2010-01-12 16:36 Peter Jones
       [not found] ` <1263314178-17158-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Jones @ 2010-01-12 16:36 UTC (permalink / raw)
  To: dwarves-u79uwXL29TY76Z2rM5mHXA; +Cc: acme-H+wXaHxf7aLQT0dZR+AlfA, Peter Jones

"-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");
 			return 0;
 		} else if (n == argc-1) {
 			infile = argv[n];
-- 
1.6.5.2

--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scncopy: Fix a typo and add "-a" in --help.
       [not found] ` <1263314178-17158-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-01-12 17:37   ` Arnaldo Carvalho de Melo
       [not found]     ` <20100112173701.GA2934-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2010-01-12 17:37 UTC (permalink / raw)
  To: Peter Jones; +Cc: dwarves-u79uwXL29TY76Z2rM5mHXA

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"?

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

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scncopy: Fix a typo and add "-a" in --help.
       [not found]     ` <20100112173701.GA2934-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
@ 2010-01-12 18:15       ` Peter Jones
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Jones @ 2010-01-12 18:15 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: dwarves-u79uwXL29TY76Z2rM5mHXA

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 16:36 [PATCH] scncopy: Fix a typo and add "-a" in --help Peter Jones
     [not found] ` <1263314178-17158-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-01-12 17:37   ` Arnaldo Carvalho de Melo
     [not found]     ` <20100112173701.GA2934-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org>
2010-01-12 18:15       ` Peter Jones

Dwarves Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dwarves/0 dwarves/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dwarves dwarves/ https://lore.kernel.org/dwarves \
		dwarves@vger.kernel.org
	public-inbox-index dwarves

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.dwarves


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git