From dd055b72d8b7ce82819ebd7b723b6aef0313bedd Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sun, 16 Dec 2007 15:55:19 +0000 Subject: [PATCH] jtag: Don't abort for invalid command line options git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@860 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 1 + jtag/src/jtag.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 60d4238d..c387a92b 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,6 @@ 2007-12-16 Kolja Waschk + * jtag.c: Don't abort on invalid command line options * configure.ac: Reorganized the libusb/libftdi detection. * data/MANUFACTURERS: Change 11110000111 code to point to "ARM" instead of Sharp to stop misdetection of other diff --git a/jtag/src/jtag.c b/jtag/src/jtag.c index 7c0a91fc..e9cfc3ef 100644 --- a/jtag/src/jtag.c +++ b/jtag/src/jtag.c @@ -382,11 +382,9 @@ main( int argc, const char **argv ) break; case 'h': + default: help = 1; break; - - default: - abort (); } }