1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

stdio-bridge: trim whitespace and braces

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-01-17 11:44:59 +01:00
parent a80f17844e
commit 0d8930fd6d

View File

@ -26,7 +26,6 @@ static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
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"
@ -41,7 +40,6 @@ static int help(void) {
}
static int parse_argv(int argc, char *argv[]) {
enum {
ARG_VERSION = 0x100,
ARG_MACHINE,
@ -64,7 +62,7 @@ static int parse_argv(int argc, char *argv[]) {
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) {
@ -98,7 +96,6 @@ static int parse_argv(int argc, char *argv[]) {
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
"Unknown option code %c", c);
}
}
return 1;
}