mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
oe-go-mod-autogen: add -v alias for -d
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
65b6286994
commit
ad460da806
|
@ -668,6 +668,13 @@ def main():
|
|||
parser.add_argument("-q", "--quiet",
|
||||
help = "Hide all output except error messages",
|
||||
action="store_const", const=logging.ERROR, dest="loglevel")
|
||||
parser.add_argument("-v", action='store_true', dest="verbose",
|
||||
help="verbose")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.verbose:
|
||||
args.loglevel = args.verbose
|
||||
args = parser.parse_args()
|
||||
|
||||
logger.setLevel(args.loglevel)
|
||||
|
|
Loading…
Reference in New Issue
Block a user