package com.bungleton.yarrgs.parser;

import java.lang.reflect.Field;

import com.bungleton.yarrgs.Positional;

public class PositionalParser extends ArgumentParser
{
    public final boolean optional;

    public PositionalParser (Field field)
    {
        super(field);
        optional = field.getAnnotation(Positional.class).optional();
    }

    @Override
    public String getBasic ()
    {
        return optional ? "[" + field.getName() + "]" : field.getName();
    }

    @Override
    public String getDetail ()
    {
        // TODO Auto-generated method stub
        return null;
    }
}

@@ -535,62 +535,49 @@
     
-// TODO Auto-generated method stub%0A        return null
+return field.getName() + %22 %22 + getUsage()
 ;%0A  

Fix detail for positional args