mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
loginctl: adjust indentation
This commit is contained in:
@@ -825,7 +825,15 @@ static int show_properties(sd_bus *bus, const char *path, bool *new_line) {
|
||||
|
||||
*new_line = true;
|
||||
|
||||
r = bus_print_all_properties(bus, "org.freedesktop.login1", path, print_property, arg_property, arg_value, arg_all, NULL);
|
||||
r = bus_print_all_properties(
|
||||
bus,
|
||||
"org.freedesktop.login1",
|
||||
path,
|
||||
print_property,
|
||||
arg_property,
|
||||
arg_value,
|
||||
arg_all,
|
||||
NULL);
|
||||
if (r < 0)
|
||||
return bus_log_parse_error(r);
|
||||
|
||||
@@ -1347,7 +1355,6 @@ static int help(int argc, char *argv[], void *userdata) {
|
||||
}
|
||||
|
||||
static int parse_argv(int argc, char *argv[]) {
|
||||
|
||||
enum {
|
||||
ARG_VERSION = 0x100,
|
||||
ARG_VALUE,
|
||||
@@ -1486,7 +1493,6 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
static int loginctl_main(int argc, char *argv[], sd_bus *bus) {
|
||||
|
||||
static const Verb verbs[] = {
|
||||
{ "help", VERB_ANY, VERB_ANY, 0, help },
|
||||
{ "list-sessions", VERB_ANY, 1, VERB_DEFAULT, list_sessions },
|
||||
|
||||
Reference in New Issue
Block a user