Skip to content

Commit 8c89fe2

Browse files
committed
Fixed formatting in --help output
1 parent f7cf729 commit 8c89fe2

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

files_to_prompt/cli.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -157,27 +157,27 @@ def cli(
157157
Takes one or more paths to files or directories and outputs every file,
158158
recursively, each one preceded with its filename like this:
159159
160-
path/to/file.py
161-
----
162-
Contents of file.py goes here
163-
164-
---
165-
path/to/file2.py
166-
---
167-
...
160+
\b
161+
path/to/file.py
162+
----
163+
Contents of file.py goes here
164+
---
165+
path/to/file2.py
166+
---
167+
...
168168
169169
If the `--cxml` flag is provided, the output will be structured as follows:
170170
171-
<documents>
172-
<document path="path/to/file1.txt">
173-
Contents of file1.txt
174-
</document>
175-
176-
<document path="path/to/file2.txt">
177-
Contents of file2.txt
178-
</document>
179-
...
180-
</documents>
171+
\b
172+
<documents>
173+
<document path="path/to/file1.txt">
174+
Contents of file1.txt
175+
</document>
176+
<document path="path/to/file2.txt">
177+
Contents of file2.txt
178+
</document>
179+
...
180+
</documents>
181181
"""
182182
# Reset global_index for pytest
183183
global global_index

0 commit comments

Comments
 (0)