Changeset 1581


Ignore:
Timestamp:
1/18/2010 11:12:05 PM (4 years ago)
Author:
lowjoel
Message:

Check that we *have* positional arguments in the first place before verifying that the first one is the same as the first raw one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser/Program.cs

    r1579 r1581  
    120120            //   start with the action, e.g. Eraser help, or Eraser addtask 
    121121            if (!argumentParser.Success || parsedArguments.IsEmpty || 
     122                parsedArguments.Positional.Count == 0 || 
    122123                parsedArguments.Positional[0] != parsedArguments.Raw[0]) 
    123124            { 
Note: See TracChangeset for help on using the changeset viewer.