static bool arg_user = false;
static int help(void) {
-
printf("%s [OPTIONS...]\n\n"
"Forward messages between two D-Bus busses via a pipe or socket.\n\n"
" -h --help Show this help\n"
}
static int parse_argv(int argc, char *argv[]) {
-
enum {
ARG_VERSION = 0x100,
ARG_MACHINE,
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "hp:M:", options, NULL)) >= 0) {
+ while ((c = getopt_long(argc, argv, "hp:M:", options, NULL)) >= 0)
switch (c) {
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"Unknown option code %c", c);
}
- }
return 1;
}