mirror of
https://github.com/wfjm/w11.git
synced 2026-04-24 19:40:39 +00:00
bin/*: drop superfluous exists for
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/usr/bin/perl -w
|
||||
# $Id: config_wrapper 1172 2019-06-29 07:27:24Z mueller $
|
||||
# $Id: config_wrapper 1189 2019-07-13 16:41:07Z mueller $
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# Copyright 2010-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
#
|
||||
# Revision History:
|
||||
# Date Rev Version Comment
|
||||
# 2019-07-13 1189 1.1.10 drop superfluous exists for $opts
|
||||
# 2018-12-18 1089 1.1.9 add and use bailout
|
||||
# 2013-09-21 534 1.1.8 add nexys4 support
|
||||
# 2013-01-02 467 1.1.7 jconfig: prepend '0x' to support 'jtag #2007'
|
||||
@@ -48,7 +49,7 @@ if (not defined $opts{path}) {
|
||||
|
||||
autoflush STDOUT 1 if (-p STDOUT); # autoflush if output into pipe
|
||||
|
||||
if (exists $opts{help}) {
|
||||
if ($opts{help}) {
|
||||
print_help();
|
||||
exit 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user