diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/slibtool_driver_impl.h | 2 | ||||
-rw-r--r-- | src/logic/slbt_exec_stoolie.c | 8 | ||||
-rw-r--r-- | src/skin/slbt_skin_stoolie.c | 7 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index b726f32..bc9a44f 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -108,6 +108,8 @@ enum app_tags { TAG_STLE_COPY, TAG_STLE_FORCE, TAG_STLE_INSTALL, + TAG_STLE_DEBUG, + TAG_STLE_DRY_RUN, }; struct slbt_split_vector { diff --git a/src/logic/slbt_exec_stoolie.c b/src/logic/slbt_exec_stoolie.c index 99b1ca1..100f913 100644 --- a/src/logic/slbt_exec_stoolie.c +++ b/src/logic/slbt_exec_stoolie.c @@ -157,6 +157,14 @@ int slbt_exec_stoolie(const struct slbt_driver_ctx * dctx) case TAG_STLE_INSTALL: ictx->cctx.drvflags |= SLBT_DRIVER_STOOLIE_INSTALL; break; + + case TAG_STLE_DEBUG: + ictx->cctx.drvflags |= SLBT_DRIVER_DEBUG; + break; + + case TAG_STLE_DRY_RUN: + ictx->cctx.drvflags |= SLBT_DRIVER_DRY_RUN; + break; } if (entry->fval) { diff --git a/src/skin/slbt_skin_stoolie.c b/src/skin/slbt_skin_stoolie.c index be417e5..c834f84 100644 --- a/src/skin/slbt_skin_stoolie.c +++ b/src/skin/slbt_skin_stoolie.c @@ -21,5 +21,12 @@ const slbt_hidden struct argv_option slbt_stoolie_options[] = { "create symbolic links to, or otherwise copy " "missing build-auxiliary and m4 files."}, + {"debug", 'd',TAG_STLE_DEBUG,ARGV_OPTARG_NONE,0,0,0, + "display internal debug information."}, + + {"dry-run", 'n',TAG_STLE_DRY_RUN,ARGV_OPTARG_NONE,0,0,0, + "do not spawn any processes, " + "do not make any changes to the file system."}, + {0,0,0,0,0,0,0,0} }; |