summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2022-12-17 21:07:32 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-20 15:59:11 +0100
commitf206809b9740aa601c5bb73e80e6ed20fa76ed0f (patch)
tree4e9c2792e0901569699c0c02acb509bcd80055ac /src/systemctl/systemctl.h
parent616b8101b7cf3d31406fa1ec385268cbee81a52b (diff)
downloadsystemd-f206809b9740aa601c5bb73e80e6ed20fa76ed0f.tar.gz
systemctl: new option --drop-in for specifying drop-in filename
Previously 'systemctl edit' would only operate on 'override.conf', but users may need more than that. Thus the new option '--drop-in' is added to allow users to specify the drop-in file name. Closes #25767
Diffstat (limited to 'src/systemctl/systemctl.h')
-rw-r--r--src/systemctl/systemctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.h b/src/systemctl/systemctl.h
index 1a7a6e28d3..9f9b8faa69 100644
--- a/src/systemctl/systemctl.h
+++ b/src/systemctl/systemctl.h
@@ -97,6 +97,7 @@ extern TimestampStyle arg_timestamp_style;
extern bool arg_read_only;
extern bool arg_mkdir;
extern bool arg_marked;
+extern const char *arg_drop_in;
static inline const char* arg_job_mode(void) {
return _arg_job_mode ?: "replace";