#include <stdbool.h>
+#include "bus-print-properties.h"
#include "bus-util.h"
#include "install.h"
#include "output-mode.h"
extern char **arg_properties;
extern bool arg_all;
extern enum dependency arg_dependency;
-extern const char *arg_job_mode;
+extern const char *_arg_job_mode;
extern UnitFileScope arg_scope;
extern bool arg_wait;
extern bool arg_no_block;
extern bool arg_no_sync;
extern bool arg_no_wall;
extern bool arg_no_reload;
-extern bool arg_value;
+extern BusPrintPropertyFlags arg_print_flags;
extern bool arg_show_types;
extern int arg_check_inhibitors;
extern bool arg_dry_run;
extern bool arg_mkdir;
extern bool arg_marked;
+static inline const char* arg_job_mode(void) {
+ return _arg_job_mode ?: "replace";
+}
+
int systemctl_dispatch_parse_argv(int argc, char *argv[]);