search for: run_alloc

Displaying 4 results from an estimated 4 matches for "run_alloc".

Did you mean: tun_alloc
2014 Dec 01
2
Re: [PATCH] fish: show synopsis if command syntax is wrong
...e done also for fish commands? If so, just make > "synopsis" a function taking args and optargs, and use it in both > places. fish commands do not have args and optargs in their definitions in file actions.ml. Also, fish commands' synopsises are printed out by inline codes, see run_alloc() for an example. Surely we can reconstruct fish commands' definitions to take advantage of the auto-generation of synopsis done in this patch, but that can be another patch. I'll add this to my todo list. > > > @@ -694,10 +679,16 @@ Guestfish will prompt for these separately.&q...
2014 Dec 01
1
Re: [PATCH] fish: show synopsis if command syntax is wrong
...t; "synopsis" a function taking args and optargs, and use it in both > > > places. > > > > fish commands do not have args and optargs in their definitions in file > > actions.ml. Also, fish commands' synopsises are printed out by inline > > codes, see run_alloc() for an example. > > > > Surely we can reconstruct fish commands' definitions to take advantage > > of the auto-generation of synopsis done in this patch, but that can be > > another patch. I'll add this to my todo list. > > After some dig, the only problem...
2014 Dec 01
0
Re: [PATCH] fish: show synopsis if command syntax is wrong
...If so, just make > > "synopsis" a function taking args and optargs, and use it in both > > places. > > fish commands do not have args and optargs in their definitions in file > actions.ml. Also, fish commands' synopsises are printed out by inline > codes, see run_alloc() for an example. > > Surely we can reconstruct fish commands' definitions to take advantage > of the auto-generation of synopsis done in this patch, but that can be > another patch. I'll add this to my todo list. After some dig, the only problem I don't know how to solve...
2014 Nov 28
2
[PATCH] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued by user is wrong, rather than telling user that the number of parameters is wrong. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- fish/cmds-gperf.h | 1 + generator/fish.ml | 33 ++++++++++++--------------------- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/fish/cmds-gperf.h