Ignore:
Timestamp:
Mar 24, 2016, 10:44:56 PM (3 years ago)
Author:
cameron
Message:

Fix for first positional arg not a filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain.cpp

    r4989 r4990  
    135135static std::vector<std::string> inputFiles;
    136136
    137 void initResult(std::vector<std::string> filenames, const int n){
    138     if (n > 1) {
     137void initResult(std::vector<std::string> filenames, const int firstName, const int n){
     138    if (n - firstName > 1) {
    139139        ShowFileNames = true;
    140140    }
Note: See TracChangeset for help on using the changeset viewer.