kraigu / ISS-RT

Some tools I wrote to talk to RT and to do reporting.
1 stars 3 forks source link

incident-submit should take an argument specifying classification, constituency #15

Closed kraigu closed 11 years ago

kraigu commented 11 years ago

Now that command line parsing is better, incident-submit should have an argument that allows the submitter to pre-populate the classification and/or constituency fields.

Can we do two-letter arguments? -cl and -co seem obvious if so.

If we can't, I'm not sure which letters make the most sense.

eagerl commented 11 years ago

Getopt::Long can handle multiple character switches. Test case needed for incident-submit.

kraigu commented 11 years ago

Works.