And the whole thing is in a block called handle options.


On Mon, Jan 27, 2014 at 12:04 PM, Peter <pcbend@gmail.com> wrote:

> ./bin/grsisort --help lays this out for the user.  Same message appears if
> the user just types ./bin/grsisort
>
>
> On Mon, Jan 27, 2014 at 12:03 PM, Bill Mills <notifications@github.com>wrote:
>
>> In src/TigScope.cxx:
>>
>> >  	if(argc==1)	{
>> >  		PrintHelp();
>> >  		return false;
>> >  	}
>> >  		
>> > -   std::vector<std::string> args;
>> > -   for (int i=0; i<argc; i++)	{
>> > -	   if (strcmp(argv[i],"--help")==0 || strcmp(argv[i],"-help")==0)	{
>> > -	      PrintHelp();
>> > -	      //refresh();
>> > -	      break;
>> > -	   }
>> > -      args.push_back(argv[i]);
>> > -   }
>> > -   for(unsigned int i=1; i<args.size(); i++)	{	// loop over the commandline options
>>
>> RIght above this line there should be a comment block describing what the
>> args array is (the command line options I guess?) and more importantly, a
>> summary of what it is allowed to contain.
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/GRIFFINCollaboration/GRSISpoon/pull/34/files#r9203441>
>> .
>>
>
>