search for: option3

Displaying 13 results from an estimated 13 matches for "option3".

Did you mean: option
2013 May 07
1
[LLVMdev] CommandLine: using cl::Positional with enum
...arguments in a particular order. For this goal, I know the cl::Positional flag. But, the problem is that the first argument must be one of a set of options (like a kind of subcommand of the tool). In my case, only the three next commands are possible:myTool option1myTool option2 arg1 arg2 myTool option3 arg1and I don't want a different order is possible, for instance, this is not permitted:myTool arg2 option2 arg1So, I thought about using an enum for this first argument:enum OptLevel{option1, option2, option3};cl::opt<OptLevel> OptionsLevel(cl::Positional, cl::desc("Choose one of t...
2013 May 10
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel, I would like to go deeper with CommandLine and I was asking if you could help me again. Look, following the same example you put in the last message: ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) What I really really want is the same except I don't want the "--" prefix is present in any of the arguments. ./prog <option1> | ( <option2> arg1 arg2) | ( <option3> arg1 ) The problem is clear: in this case, the arguments can't be optional. So I...
2013 May 12
0
[LLVMdev] CommandLine: using cl::Positional with enum
...operez at mail.uca.es> wrote: > Hi Daniel, > > I would like to go deeper with CommandLine and I was asking if you could > help me again. > > Look, following the same example you put in the last message: > > ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) > > What I really really want is the same except I don't want the "--" prefix is > present in any of the arguments. > > ./prog <option1> | ( <option2> arg1 arg2) | ( <option3> arg1 ) > > The problem is clear: in this case, the argume...
2008 Mar 07
3
parsing /proc/cmdline
Hi - I am not an expert at shell script writing. If /proc/cmdline looks like option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ... How can I get the 192.168.1.8 out of this cmdline. THanks, Jerry
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel, Just in the moment you replied my message, I was rewriting it as I hadn't noticed it hadn't a correct format. Sorry for that and thanks for answering it anyway. > ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) > Yes, that is exactly what I need. It's a pity commandLine doesn't implement that possibility. So I will do what you tell, parsing the arguments by myself and extending the help like you propose. > > I don't see why you should really care about the order, i.e....
2013 May 14
0
[LLVMdev] CommandLine: using cl::Positional with enum
...t;> Hi Daniel, >> >> I would like to go deeper with CommandLine and I was asking if you could >> help me again. >> >> Look, following the same example you put in the last message: >> >> ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 ) >> >> What I really really want is the same except I don't want the "--" prefix is >> present in any of the arguments. >> >> ./prog <option1> | ( <option2> arg1 arg2) | ( <option3> arg1 ) >> >> The problem is...
2003 Apr 24
3
Collecting dialed digits
...attendant for the first time, and am having trouble getting to the submenu. My extensions.conf file looks like this: [incoming] exten=> s,1,Background,menu1 exten=> s,2,Wait,20 exten=> s,3,Goto,s|1 exten=> 1,1,Playback,option1 exten=> 2,1,Playback,option2 exten=> 3,1,Playback,option3 It is my understanding that asterisk treats the digits entered by the caller at the first menu as an extension. When I run asterisk and call in and enter a number for my option, I am not passed on, rather I just loop through. Is there something more that I need to set up. Also, is there a way t...
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
...ok, I want the tool accepts a list of arguments in a particular order. For this goal, I know the cl::Positional flag. But, the problem is that the first argument must be one of a set of options. In my case, only the three next commands are possible: myTool option1 myTool option2 arg1 arg2 myTool option3 arg1 and I don't want a different order is possible, for instance, this is not permitted: myTool arg2 option2 arg1 So, I thought about using an enum for this first argument: enum OptLevel{ option1, option2, option3 }; cl::opt<OptLevel> OptionsLevel(cl::Positional, cl::desc("Choo...
2011 Feb 10
0
Chi square test of proprotions in 2 groups of different sizes
...greatly appreciated. Thank you! Dimitri G1counts <- matrix(c(54,76,125), ncol = 1) G2counts <- matrix(c(14,19,35), ncol = 1) counts<-cbind(G1counts,G2counts) colnames(counts)<-c("Group1","Group2"); rownames(counts)<-c("Option1","Option2","Option3") N1=255 N2=68 Ns=c(N1,N2) prop1<-G1counts/N1 prop2<-G2counts/N2 prop<-cbind(prop1,prop2) colnames(prop)<-c("Group1","Group2"); rownames(prop)<-c("Option1","Option2","Option3") (Ns);(counts);(prop);sum(prop)
2011 Nov 01
0
Read/Write textbox in R
...base <- tktoplevel() list <- tklistbox(base, width = 20, height = 5) entry <- tkentry(base) text <- tktext(base, width = 20, height = 5) tkpack(list, entry, text) # Write and read from the widgets writeList(list, c("Option1", "Option2", "Option3")) writeList(entry, "An Entry box") writeText(text, "A text box") # Will be NULL if not selected getListValue(list) getTextValue(text) getEntryValue(entry) # Destroy toplevel widget # tkdestroy(base) ## End(Not run) I took it from: http://svitsrv...
2012 Jan 26
1
Question about puppet module development
....conf did not provide ''include'' directive, so i need to manage whole file. First i want to use augeas for this purposes, but find that augeas supplied with debian squeeze have troubles with krb5.conf. File have next structure: [section1] option1 = value option2 = value [section2] option3 = value option4 = value For example configuration of two realms looks like: [realms] ATHENA.MIT.EDU = { kdc = kerberos.mit.edu:88 kdc = kerberos-1.mit.edu:88 kdc = kerberos-2.mit.edu:88 admin_server = kerberos.mit.edu...
2007 Apr 19
2
Feature Request: content-filter / MOVE scripts
Since your "1.1 plans" announcement somehow turned into everybody handing in a wish list . . . thought I'd start one by itself - since I expect a few people to have opinions on this matter. I'm aware of a plug-in functionality in Dovecot, and that a plug-in exists for dspam processing - but my review of the plug-ins indicate they require compiling your own Dovecot - the
2015 Apr 27
2
upcoming libshout beta/snapshot
On 2015-04-26 18:15, Philipp Schafft wrote: > I tested with both Mozilla's 'Modern' and 'Intermediate' list. Both > work well with all versions of Icecast (official) as well as current -kh. > In that case my suggestion is for libshout to only focus on using the Modern list then as it explicitly excludes DES and RC4 and MD5. While HMAC-MD5 (for some password uses)