summaryrefslogtreecommitdiff
path: root/src/rc-depend/rc-depend.c
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2025-05-08 01:34:48 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2025-06-07 22:47:20 +0200
commitba618fd0a5232d0e2f681c269e527067681080ae (patch)
treebe58a7573eb35f175d2ac360ad1b728d4e00b904 /src/rc-depend/rc-depend.c
parent8dc4626e1b6b9336a351dc55aa1e748435759094 (diff)
*: move --user flags to only the programs that it makes senseorigin/cmdline
checkpath and other helpers shouldn't really get called with --user
Diffstat (limited to 'src/rc-depend/rc-depend.c')
-rw-r--r--src/rc-depend/rc-depend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rc-depend/rc-depend.c b/src/rc-depend/rc-depend.c
index 4736cc12..2a9c374b 100644
--- a/src/rc-depend/rc-depend.c
+++ b/src/rc-depend/rc-depend.c
@@ -39,7 +39,8 @@ const char *extraopts = NULL;
opt(T, notrace, no_argument, "Don't trace service dependencies") \
opt(s, strict, no_argument, "Only use what is in the runlevels") \
opt(u, update, no_argument, "Force an update of the dependency tree") \
- opt(F, deptree-file, required_argument, "File to load cached deptree from")
+ opt(F, deptree-file, required_argument, "File to load cached deptree from") \
+ opt(U, user, no_argument, "Run in user mode")
cmdline_opts(opts)
const char *usagestring = NULL;