Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement decent option parsing #4

Open
przemoc opened this issue Feb 9, 2011 · 0 comments
Open

Implement decent option parsing #4

przemoc opened this issue Feb 9, 2011 · 0 comments
Labels
Milestone

Comments

@przemoc
Copy link
Owner

przemoc commented Feb 9, 2011

vidma [OPTION]... FILE [OPERATION [PARAMETER]...]... [\; FILE [OPERATION [PARAMETER]...]...]...

Support for defining many operations in one vidma invocation should be useful. Support for working on many files in one invocation doesn't look that important, but could be useful too. It may require also automatic stdin/stdout folding to make possible and meaningful below command:

vidma test.vdi export \; test.vmdk import

which could be substituted by (possibly less efficient):

vidma test.vdi export | vidma test.vmdk import

It must be checked whether above options model is achievable using one of following mechanisms:

  • getopt
  • Rusty's opt
  • my (written for pcspk) popt
  • RedHat's popt
  • argopt
  • (other open source solutions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant