Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 2f692ee

Browse files
committed
Revert "Add --import-extensions flag"
This reverts commit 548744e.
1 parent 6dbd981 commit 2f692ee

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

sassc.c

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -202,23 +202,22 @@ void print_usage(char* argv0) {
202202
int i;
203203
printf("Usage: %s [options] [INPUT] [OUTPUT]\n\n", argv0);
204204
printf("Options:\n");
205-
printf(" -s, --stdin Read input from standard input instead of an input file.\n");
206-
printf(" -t, --style NAME Output style. Can be:");
205+
printf(" -s, --stdin Read input from standard input instead of an input file.\n");
206+
printf(" -t, --style NAME Output style. Can be:");
207207
for(i = NUM_STYLE_OPTION_STRINGS - 1; i >= 0; i--) {
208208
printf(" %s", style_option_strings[i].style_string);
209209
printf(i == 0 ? ".\n" : ",");
210210
}
211-
printf(" -l, --line-numbers Emit comments showing original line numbers.\n");
211+
printf(" -l, --line-numbers Emit comments showing original line numbers.\n");
212212
printf(" --line-comments\n");
213-
printf(" -I, --load-path PATH Set Sass import path.\n");
214-
printf(" -P, --plugin-path PATH Set path to autoload plugins.\n");
215-
printf(" -E, --import-extension EXT Set additional extenions to use when resolving imports.\n");
216-
printf(" -m, --sourcemap[=TYPE] Emit source map (auto or inline).\n");
217-
printf(" -M, --omit-map-comment Omits the source map url comment.\n");
218-
printf(" -p, --precision Set the precision for numbers.\n");
219-
printf(" -a, --sass Treat input as indented syntax.\n");
220-
printf(" -v, --version Display compiled versions.\n");
221-
printf(" -h, --help Display this help message.\n");
213+
printf(" -I, --load-path PATH Set Sass import path.\n");
214+
printf(" -P, --plugin-path PATH Set path to autoload plugins.\n");
215+
printf(" -m, --sourcemap[=TYPE] Emit source map (auto or inline).\n");
216+
printf(" -M, --omit-map-comment Omits the source map url comment.\n");
217+
printf(" -p, --precision Set the precision for numbers.\n");
218+
printf(" -a, --sass Treat input as indented syntax.\n");
219+
printf(" -v, --version Display compiled versions.\n");
220+
printf(" -h, --help Display this help message.\n");
222221
printf("\n");
223222
}
224223

@@ -262,7 +261,6 @@ int main(int argc, char** argv) {
262261
{ "load-path", required_argument, 0, 'I' },
263262
{ "plugin-path", required_argument, 0, 'P' },
264263
{ "style", required_argument, 0, 't' },
265-
{ "import-extension", required_argument, 0, 'E' },
266264
{ "line-numbers", no_argument, 0, 'l' },
267265
{ "line-comments", no_argument, 0, 'l' },
268266
{ "sourcemap", optional_argument, 0, 'm' },
@@ -273,14 +271,11 @@ int main(int argc, char** argv) {
273271
{ "help", no_argument, 0, 'h' },
274272
{ NULL, 0, NULL, 0}
275273
};
276-
while ((c = getopt_long(argc, argv, "vhslm::Map:t:I:P:E:", long_options, &long_index)) != -1) {
274+
while ((c = getopt_long(argc, argv, "vhslm::Map:t:I:P:", long_options, &long_index)) != -1) {
277275
switch (c) {
278276
case 's':
279277
from_stdin = 1;
280278
break;
281-
case 'E':
282-
sass_option_push_import_extension(options, optarg);
283-
break;
284279
case 'I':
285280
sass_option_push_include_path(options, optarg);
286281
break;

0 commit comments

Comments
 (0)