Skip to content

Commit

Permalink
List -f keys as well as supported file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Jan 31, 2024
1 parent e142df3 commit dcfc548
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions brainglobe_utils/citation/cite.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,11 @@ def cli() -> None:

# List reference formats
sys.stdout.write(

Check warning on line 230 in brainglobe_utils/citation/cite.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_utils/citation/cite.py#L230

Added line #L230 was not covered by tests
"Available citation formats (format, file extension):\n"
"Available citation formats "
"(supported file extension), format option:\n"
)
sys.stdout.write("\t- BibTex (*.tex)\n")
sys.stdout.write("\t- Text (*.txt)\n")
sys.stdout.write("\t- BibTex (*.tex), --format bibtex\n")
sys.stdout.write("\t- Text (*.txt), --format text\n")

Check warning on line 235 in brainglobe_utils/citation/cite.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_utils/citation/cite.py#L234-L235

Added lines #L234 - L235 were not covered by tests

# Terminate
sys.exit(0)

Check warning on line 238 in brainglobe_utils/citation/cite.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_utils/citation/cite.py#L238

Added line #L238 was not covered by tests
Expand Down

0 comments on commit dcfc548

Please sign in to comment.