[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] Option string in getopt_long wrong?
- From: Daniel Veillard <veillard redhat com>
- To: "Richard W.M. Jones" <rjones redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] Option string in getopt_long wrong?
- Date: Fri, 26 Jan 2007 06:51:15 -0500
On Fri, Jan 26, 2007 at 11:38:58AM +0000, Richard W.M. Jones wrote:
>
> while ((arg = getopt_long(end, argv, "d:hqtv", opt, &idx)) != -1) {
> ------
> switch (arg) {
> case 'd':
> ctl->debug = atoi(optarg);
> break;
> case 'h':
> help = 1;
> break;
> case 'q':
> ctl->quiet = TRUE;
> break;
> case 't':
> ctl->timing = TRUE;
> break;
> case 'c':
> ctl->name = vshStrdup(ctl, optarg);
> break;
> // etc
>
> Shurley shome mishtake?
Right, thanks, fixed in CVS ;-)
That file need also a reformatting cleanup but I will wait for Dan's patch
for console and vnc to be applied first. I use this for C indentation:
paphio:~ -> cat ~/bin/cb
#!/bin/sh
indent -bad -bap -bbb -bli4 -br -ce -brs -cs -i4 -l75 -lc75 -nut -sbi4 -psl -saf -sai -saw -sbi4 -ss -sc -cdw -cli4 -npcs -nbc
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]