Skip to content

Commit

Permalink
fixup! bin/xbps-query: add --long for -f to show file perms, owner, size
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Mar 14, 2023
1 parent 3e4b05c commit ffa9ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/xbps-query/show-info-files.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ show_pkg_files(xbps_dictionary_t filesd, bool long_listing)
if (xbps_object_type(obj) != XBPS_TYPE_DICTIONARY)
continue;
if (long_listing)
fmt = "{mode!strmode} {user} {group} {size!humanize} {file}";
fmt = "{mode?0!strmode} {user?\"root\"} {group?\"root\"} {size!humanize} {file}";
else
fmt = "{file}";
if (xbps_dictionary_get(obj, "target") != NULL)
Expand Down

0 comments on commit ffa9ad5

Please sign in to comment.