You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the command ktx foo <options ...> file1 file2 file3 ... where foo uses OptionsSingleInSingleOut, OptionsSingleInSingleOut will use file1 as input, file2 as output and ignore file3. As the last positional parameter is usually the output file sloppy commands could easily lead to unintentional overwrites of file2.
Note that I spotted this in a new command I am developing. Is the command expected to check for excess parameters? I can't find any check in command_encode.
The text was updated successfully, but these errors were encountered:
With the command
ktx foo <options ...> file1 file2 file3 ...
where foo uses OptionsSingleInSingleOut, OptionsSingleInSingleOut will use file1 as input, file2 as output and ignore file3. As the last positional parameter is usually the output file sloppy commands could easily lead to unintentional overwrites of file2.Note that I spotted this in a new command I am developing. Is the command expected to check for excess parameters? I can't find any check in
command_encode
.The text was updated successfully, but these errors were encountered: