summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_install.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_install.c')
-rw-r--r--src/logic/slbt_exec_install.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index 7277179..4aafd0f 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -29,7 +29,8 @@ static int slbt_install_usage(
const char * program,
const char * arg,
const struct argv_option ** optv,
- struct argv_meta * meta)
+ struct argv_meta * meta,
+ int noclr)
{
char header[512];
@@ -38,7 +39,16 @@ static int slbt_install_usage(
"Options:\n",
program);
- argv_usage(fdout,header,optv,arg);
+ switch (noclr) {
+ case 0:
+ argv_usage(fdout,header,optv,arg);
+ break;
+
+ default:
+ argv_usage_plain(fdout,header,optv,arg);
+ break;
+ }
+
argv_free(meta);
return SLBT_USAGE;
@@ -646,7 +656,8 @@ int slbt_exec_install(
return slbt_install_usage(
fdout,
dctx->program,
- 0,optv,0);
+ 0,optv,0,
+ dctx->cctx->drvflags & SLBT_DRIVER_ANNOTATE_NEVER);
}
}
@@ -657,7 +668,8 @@ int slbt_exec_install(
return slbt_install_usage(
fdout,
dctx->program,
- 0,optv,0);
+ 0,optv,0,
+ dctx->cctx->drvflags & SLBT_DRIVER_ANNOTATE_NEVER);
/* <install> argv meta */
if (!(meta = argv_get(