Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7370 closed defect (wontfix)

Shrinksafe: -o flag does not work

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.2
Component: ShrinkSafe Version: 1.1.1
Keywords: Cc: James Burke
Blocked By: Blocking:

Description (last modified by Adam Peller)

correction. James, actually it seems to work fine given one caveat: the input filename must come after the arguments. Once it hits the input file name, it stops processing flags. "-c" is a standalone flag which does not take an argument, so...

this works fine -c -o output.js input.js

but this doesn't

-c input.js -o output.js

I'm going to mark this as wontfix, unless you think this behavior needs to be changed.

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

apparently, -o only works if it comes before -c It may have always worked this way.

comment:2 Changed 11 years ago by Adam Peller

Description: modified (diff)
Resolution: wontfix
Status: newclosed

comment:3 Changed 11 years ago by Adam Peller

Oops... put this text in as the description instead of here as a comment.

correction: James, actually it seems to work fine given one caveat: the input filename must come after the arguments. Once it hits the input file name, it stops processing flags. "-c" is a standalone flag which does not take an argument, so...

this works fine -c -o output.js input.js

but this doesn't

-c input.js -o output.js

I'm going to mark this as wontfix, unless you think this behavior needs to be changed.

Note: See TracTickets for help on using tickets.