scncopy: Fix a typo and add "-a" in --help.
PATCH 1/1 scncopy: Fix a typo and add "-a" in --help.
"-s section 0" doesn't really read the same as "-s section0"...
--- scncopy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scncopy.c +1 -1
@@ -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];
Signature · 6 lines
1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe dwarves" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1263314178-17158-1-git-send-email-pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Em Tue, Jan 12, 2010 at 11:36:18AM -0500, Peter Jones escreveu:
Quoted 10 lines
"-s section 0" doesn't really read the same as "-s section0"...
--- scncopy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scncopy.c +0
-0
scncopy.c int main(int argc, char *argv[]) · line 69
Quoted 5 lines
scncopy.c +1
-1@@ -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"?
scncopy.c int main(int argc, char *argv[]) · line 72
Quoted 3 lines
scncopy.c +0
-0return 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20100112173701.GA2934-f8uhVLnGfZaxAyOMLChx1axOck334EZe@public.gmane.org
Quoted 6 lines · Arnaldo Carvalho de Melo
Em Tue, Jan 12, 2010 at 11:36:18AM -0500, Peter Jones escreveu:
Quoted 5 lines
"-s section 0" doesn't really read the same as "-s section0"...
--- scncopy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 13 lines
scncopy.c int main(int argc, char *argv[]) · line 69
Quoted 10 lines
scncopy.c +1
-1@@ -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 ;)
Quoted 6 lines
scncopy.c int main(int argc, char *argv[]) · line 72
Quoted 4 lines
scncopy.c +0
-0return 0 ; }else if (n == argc-1 ) { infile = argv[n];- Arnaldo
Signature · 9 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html