Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDimitri Williams
3,098 PointsCould not find an option or flag "-l"
I tried typing:
sass -l app.scss
in my terminal and I received an error message:
Could not find an option or flag "-l"
Is the -l flag supported anymore?
2 Answers
KRIS NIKOLAISEN
54,972 PointsDid you try sass --help to see if it is listed? Mine shows under input and output:
Usage: sass [options] [INPUT] [OUTPUT]
Input and Output:
-l, --line-numbers Emit comments in the generated CSS indicating the corresponding source line.
--line-comments
I tried in a workspace and it appears to be there:
treehouse:~/workspace$ sass -l app.scss
/* line 3, app.scss */
body {
background-color: orange; }
and on my Mac I see the same
kris$ sass -l app.scss
/* line 3, app.scss */
body {
background-color: orange; }
kris$
Dimitri Williams
3,098 PointsThank you for the reply. I do not have the -l flag when I run Sass help. I am running Sass version 1.21.0