Skip to content

Commit ffa9ad5

Browse files
committed
fixup! bin/xbps-query: add --long for -f to show file perms, owner, size
1 parent 3e4b05c commit ffa9ad5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/xbps-query/show-info-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ show_pkg_files(xbps_dictionary_t filesd, bool long_listing)
215215
if (xbps_object_type(obj) != XBPS_TYPE_DICTIONARY)
216216
continue;
217217
if (long_listing)
218-
fmt = "{mode!strmode} {user} {group} {size!humanize} {file}";
218+
fmt = "{mode?0!strmode} {user?\"root\"} {group?\"root\"} {size!humanize} {file}";
219219
else
220220
fmt = "{file}";
221221
if (xbps_dictionary_get(obj, "target") != NULL)

0 commit comments

Comments
 (0)