Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just --list should display first line of multi-line comment #1526

Closed
jeffrey-aguilera opened this issue Jan 25, 2023 · 1 comment
Closed

Comments

@jeffrey-aguilera
Copy link

#!/usr/bin/env just --justfile

# example of a multiline comment where just --list picks the last line.

# Brief description.
#
# More detailed description.
# Possibly spanning multiple lines
@example:
  just --list

Expect: just example prints Brief description

Actual: just example prints Possibly spanning multiple lines

@casey
Copy link
Owner

casey commented Jan 25, 2023

Dupe of #1337. Definitely an annoying limitation, and hard to fix without breaking existing justfiles, although it can be fixed in an edition.

@casey casey closed this as completed Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants