From: Peter Jones <pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: acme-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
Peter Jones <pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH] scncopy: make "--help" a valid argument...
Date: Tue, 12 Jan 2010 11:40:35 -0500 [thread overview]
Message-ID: <1263314435-17341-1-git-send-email-pjones@redhat.com> (raw)
---
scncopy.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/scncopy.c b/scncopy.c
index 067662c..1c76742 100644
--- a/scncopy.c
+++ b/scncopy.c
@@ -65,7 +65,9 @@ int main(int argc, char *argv[])
n++;
outfile = argv[n];
continue;
- } else if (!strcmp(argv[n], "-?") || !strcmp(argv[n],"--usage")) {
+ } else if (!strcmp(argv[n], "-?") ||
+ !strcmp(argv[n], "--help") ||
+ !strcmp(argv[n], "--usage")) {
printf("usage: pjoc [-s section0 [[-s section1] ... -s sectionN] | -a ] -o outfile infile\n");
return 0;
} else if (n == argc-1) {
--
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
reply other threads:[~2010-01-12 16:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263314435-17341-1-git-send-email-pjones@redhat.com \
--to=pjones-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=acme-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).