diff options
author | midipix <writeonce@midipix.org> | 2022-11-06 22:38:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-11-07 00:06:56 +0000 |
commit | d7dacaa62264673eff1a4a21da24af93630c4f36 (patch) | |
tree | 60c38afd63dee5bd2897c0aa2b9d128e24123b0a | |
parent | 89468d50b42b0e500deb8088652f75b0c4b4ad6a (diff) | |
download | ntux-d7dacaa62264673eff1a4a21da24af93630c4f36.tar.bz2 ntux-d7dacaa62264673eff1a4a21da24af93630c4f36.tar.xz |
driver: chmod: renamed option --refmode to --refobj.
-rw-r--r-- | include/ntux/ntux.h | 2 | ||||
-rw-r--r-- | src/driver/ntux_driver_ctx.c | 4 | ||||
-rw-r--r-- | src/internal/ntux_driver_impl.h | 2 | ||||
-rw-r--r-- | src/skin/ntux_skin_chmod.c | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h index c29ffa7..1a6cdea 100644 --- a/include/ntux/ntux.h +++ b/include/ntux/ntux.h @@ -114,7 +114,7 @@ struct ntux_common_ctx { char ** senvp; const char * loader; const char * logfile; - const char * refmode; + const char * refobj; const char * strmode; const char * owner; const char * group; diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c index 09d2142..e0f381d 100644 --- a/src/driver/ntux_driver_ctx.c +++ b/src/driver/ntux_driver_ctx.c @@ -246,8 +246,8 @@ static int ntux_cctx_update( cctx->logfile = entry->arg; break; - case TAG_REFMODE: - cctx->refmode = entry->arg; + case TAG_REFOBJ: + cctx->refobj = entry->arg; break; case TAG_STRMODE: diff --git a/src/internal/ntux_driver_impl.h b/src/internal/ntux_driver_impl.h index c3c109c..8b2be85 100644 --- a/src/internal/ntux_driver_impl.h +++ b/src/internal/ntux_driver_impl.h @@ -39,7 +39,7 @@ enum app_tags { TAG_SILENT, TAG_RECURSIVE, TAG_STRMODE, - TAG_REFMODE, + TAG_REFOBJ, TAG_CHANGES, TAG_OWNER, TAG_GROUP, diff --git a/src/skin/ntux_skin_chmod.c b/src/skin/ntux_skin_chmod.c index ce9ffad..798ad47 100644 --- a/src/skin/ntux_skin_chmod.c +++ b/src/skin/ntux_skin_chmod.c @@ -20,11 +20,11 @@ const struct argv_option ntux_chmod_options[] = { {"strmode", 's',TAG_STRMODE,ARGV_OPTARG_REQUIRED,0,0,"<STRMODE>", "set mode based on the symbolic mode %s"}, - {"refmode", 'e',TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,"<REFMODE>", + {"refobj", 'e',TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,"<REFOBJ>", "set mode based on the reference file %s"}, - {"reference", 0,TAG_REFMODE,ARGV_OPTARG_REQUIRED,0,0,0, - "a synonym for --refmode"}, + {"reference", 0,TAG_REFOBJ,ARGV_OPTARG_REQUIRED,0,0,0, + "a synonym for --refobj"}, {"changes", 'c',TAG_CHANGES,ARGV_OPTARG_NONE,0,0,0, "print a list of changed ACEs"}, |