search for: command_num

Displaying 6 results from an estimated 6 matches for "command_num".

2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
...#39;help %%s' for more help on %%s\\n\"), cmd, cmd);\n"; + pr " ret = -1;\n"; + pr " }\n"; + pr " }\n"; pr " else {\n"; pr " fprintf (stderr, _(\"%%s: unknown command\\n\"), cmd);\n"; pr " if (command_num == 1)\n"; pr " extended_help_message ();\n"; - pr " return -1;\n"; pr " }\n"; + pr " return ret;\n"; pr "}\n" and generate_fish_cmds_h () = -- 1.9.3
2010 Jun 01
1
[PATCH] fish: help command return error for non-existent commands (RHBZ#597145).
...not known, use -h to list all commands\n"), cmd); + return -1; + } } /* This is printed when the user types in an unknown command for the diff --git a/fish/fish.h b/fish/fish.h index b98faf0..9f64979 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -55,7 +55,7 @@ extern int command_num; extern int issue_command (const char *cmd, char *argv[], const char *pipe); extern void pod2text (const char *name, const char *shortdesc, const char *body); extern void list_builtin_commands (void); -extern void display_builtin_command (const char *cmd); +extern int display_builtin_command (co...
2014 Dec 02
1
Re: [PATCH v2] fish: show synopsis if command syntax is wrong
...p on %%s\\n\"), cmd, cmd);\n"; > + pr " ret = -1;\n"; > + pr " }\n"; > + pr " }\n"; > pr " else {\n"; > pr " fprintf (stderr, _(\"%%s: unknown command\\n\"), cmd);\n"; > pr " if (command_num == 1)\n"; > pr " extended_help_message ();\n"; > - pr " return -1;\n"; > pr " }\n"; > + pr " return ret;\n"; > pr "}\n" > > and generate_fish_cmds_h () = > -- > 2.1.0 >
2014 Nov 28
2
[PATCH] fish: show synopsis if command syntax is wrong
...fprintf (stderr, _(\"type 'help %%s' for more help on %%s\\n\"), cmd, cmd);\n"; + pr " }\n"; + pr " }\n"; pr " else {\n"; pr " fprintf (stderr, _(\"%%s: unknown command\\n\"), cmd);\n"; pr " if (command_num == 1)\n"; -- 1.9.3
2010 Aug 28
4
[PATCH 0/4] Add progress bars
As discussed previously: https://www.redhat.com/archives/libguestfs/2010-July/msg00003.html https://www.redhat.com/archives/libguestfs/2010-July/msg00024.html To do: (1) Implement progress notifications for many more daemon operations. (2) OCaml bindings to the callback. (3) Perl bindings to the callback. Rich. -- Richard Jones, Virtualization Group, Red Hat
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch: https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html This adds OCaml and Perl bindings (both tested), support for progress bars in virt-resize, and adds progress notifications to a number of the simpler commands. Still to do is to add progress messages to more commands. There are still a few commands which would be