SebastianSimon / firefox-omni-tweaks

A script that disables the clickSelectsAll behavior of Firefox, and more.
MIT License
43 stars 8 forks source link

Command line in web app should prepend option values starting with `-` with `./` #19

Closed SebastianSimon closed 2 years ago

SebastianSimon commented 2 years ago

E.g. entering -quality in backupDir will show the “Equivalent command line” as

./fixfx.sh -b '-quality'

which will actually be interpreted as

./fixfx.sh -b -q -u -a -l -i -t -y

potentially triggering undesirable options and throwing an error because -b is missing a value.

It should be

./fixfx.sh -b './-quality'

instead.