]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/show-status.c
core: add combined status unit format
[thirdparty/systemd.git] / src / core / show-status.c
index a74423cb85d5455923477640883eae288857afd9..df2542993894af6baaca34bd6b120e9f90726224 100644 (file)
@@ -123,6 +123,7 @@ int status_printf(const char *status, ShowStatusFlags flags, const char *format,
 static const char* const status_unit_format_table[_STATUS_UNIT_FORMAT_MAX] = {
         [STATUS_UNIT_FORMAT_NAME]        = "name",
         [STATUS_UNIT_FORMAT_DESCRIPTION] = "description",
+        [STATUS_UNIT_FORMAT_COMBINED]    = "combined",
 };
 
 DEFINE_STRING_TABLE_LOOKUP(status_unit_format, StatusUnitFormat);