#2 Optional UnlabeledValueArg.

closed
nobody
None
5
2006-08-19
2005-01-20
Erik Zeek
No

An optional UnlabeledValueArg would be a nice addition.
Many programs take optional file names on the command
line, but default to stdin if none are specified (i.e.
grep). It would also allow the help to show different
sections for argument.

It appears that support was planned for this (why else
have a default value in the constructor) but is not
currently implemented.

Thanks,
Erik

Discussion

  • Mike Smoot

    Mike Smoot - 2005-01-20

    Logged In: YES
    user_id=27603

    Yeah, I have no idea why I made UnlabeledValueArgs required. I'll
    ponder this for a while and see what I come up with. In the meantime,
    you might be able to achieve what you want with UnlabeledMultiArgs.
    I'll keep you posted.

    Mike

     
  • Mike Smoot

    Mike Smoot - 2005-01-24

    Logged In: YES
    user_id=27603

    This is now in CVS. It should make it into the next
    release.

     
  • Mike Smoot

    Mike Smoot - 2006-08-19

    Logged In: YES
    user_id=27603

    this is in release 1.1.0

     
  • Mike Smoot

    Mike Smoot - 2006-08-19
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks