search for: synopsises

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

Did you mean: synopsis
2014 Dec 01
2
Re: [PATCH] fish: show synopsis if command syntax is wrong
...ems sound to me. > > Shouldn't that be 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 @...
2014 Dec 01
1
Re: [PATCH] fish: show synopsis if command syntax is wrong
...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 m...
2014 Dec 01
0
Re: [PATCH] fish: show synopsis if command syntax is wrong
...t; Shouldn't that be 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. After some...
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