Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: [PATCH Cogito] Improve option parsing for cg-log

From: Dan Holmsand <hidden>
Date: 2016-06-15 22:41:57

Petr Baudis wrote:
The -r option still must be after all the other options.
I've been thinking about option parsing as well, and I think cogito 
could use a more "getopt-like" handling of options. "cg-log -cf"
or "cg-diff -rorigin" is just so much easier to type...

The attached patch implements that for cg-log and cg-diff, by means of 
two new helper functions in cg-Xlib. It also improves error-handling a bit.

How about it?

/dan

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help