status list-files: support multiple arguments

This fixes an issue in fish_config, see
ee94272eaf (commitcomment-170660405)
This commit is contained in:
Johannes Altmanninger
2025-11-17 20:14:30 +01:00
parent 7b4802091a
commit 1bcfc64e13
3 changed files with 24 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ Synopsis
status test-feature FEATURE
status build-info
status get-file FILE
status list-files [PATH]
status list-files [PATH ...]
status help-sections
status terminal
status test-terminal-feature FEATURE
@@ -118,7 +118,7 @@ The following operations (subcommands) are available:
as well as the man pages and themes. Which files are included depends on build settings.
Returns 0 if the file was included, 1 otherwise.
**list-files** *FILE*
**list-files** *FILE...*
NOTE: this subcommand is mainly intended for fish's internal use; let us know if you want to use it elsewhere.
This lists the files embedded in the fish binary at compile time. Only files where the path starts with the optional *FILE* argument are shown.