Skip to content

Commit

Permalink
Merge pull request #4 from martinghunt/master
Browse files Browse the repository at this point in the history
Version 1.0.0
  • Loading branch information
martinghunt committed Apr 9, 2014
2 parents e061609 + 09582d9 commit cc47823
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assembly-stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ options:\n\
-s\n\tPrint 'grep friendly' output\n\
-t\n\tPrint tab-delimited output\n\
-u\n\tPrint tab-delimited output with no header line\n\
-v\n\tPrint version and exit\n\
";

if (argc < 2)
Expand Down Expand Up @@ -99,6 +100,11 @@ options:\n\
ops.minLength = atoi(argv[ops.infileStartIndex + 1]);
ops.infileStartIndex += 2;
}
else if (strcmp(argv[ops.infileStartIndex], "-v") == 0)
{
cout << "Version: 1.0.0" << endl;
exit(0);
}
else
{
cerr << "error parsing options, somewhere around this: " << argv[ops.infileStartIndex] << endl;
Expand Down

0 comments on commit cc47823

Please sign in to comment.