mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
systemctl: update 'show' format for path units
Before this. ``` $ systemctl show cups.path | grep ^Path PathExistsGlob=/var/spool/cups/d* $ systemctl show --property PathExistsGlob cups.path $ systemctl show --property Paths cups.path PathExistsGlob=/var/spool/cups/d* ``` After this. ``` $ systemctl show cups.path | grep ^Path Paths=/var/spool/cups/d* (PathExistsGlob) $ systemctl show --property Paths cups.path Paths=/var/spool/cups/d* (PathExistsGlob) ```
This commit is contained in:
parent
eabc13c781
commit
c7366cf17f
@ -4889,7 +4889,7 @@ static int print_property(const char *name, sd_bus_message *m, const char *conte
|
||||
return bus_log_parse_error(r);
|
||||
|
||||
while ((r = sd_bus_message_read(m, "(ss)", &type, &path)) > 0)
|
||||
print_prop(type, "%s", path);
|
||||
print_prop(name, "%s (%s)", path, type);
|
||||
if (r < 0)
|
||||
return bus_log_parse_error(r);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user