From d3730a4971720c7055d8b0b953f3b3c8979adb0c Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 10 2016 23:55:46 +0000 Subject: driver: record the flags passed to amgc_get_driver_ctx(). --- diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index df149e9..d774307 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -151,6 +151,7 @@ int amgc_get_driver_ctx( nactions= 0; program = argv_program_name(argv[0]); memset(&cctx,0,sizeof(cctx)); + cctx.drvflags = flags; if (!argv[1] && (flags & AMGC_DRIVER_VERBOSITY_USAGE)) return amgc_driver_usage(program,0,options,meta);