search for: 3f53ffa

Displaying 3 results from an estimated 3 matches for "3f53ffa".

Did you mean: 3f23ff6
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
...const char *name; /* Short name. */ const char *help; /* Online help. */ + const char *synopsis; /* Synopsis. */ /* The run_* function. */ int (*run) (const char *cmd, size_t argc, char *argv[]); diff --git a/generator/fish.ml b/generator/fish.ml index 3f53ffa..52cdfd5 100644 --- a/generator/fish.ml +++ b/generator/fish.ml @@ -181,7 +181,7 @@ Guestfish will prompt for these separately." else "" in let pod = - sprintf "%s - %s\n\n=head1 SYNOPSIS\n\n %s\n\n=head1 DESCRIPTION\n\n%s%s%s" + sprintf &quo...
2014 Dec 02
1
Re: [PATCH v2] fish: show synopsis if command syntax is wrong
...Short name. */ > const char *help; /* Online help. */ > + const char *synopsis; /* Synopsis. */ > > /* The run_* function. */ > int (*run) (const char *cmd, size_t argc, char *argv[]); > diff --git a/generator/fish.ml b/generator/fish.ml > index 3f53ffa..b609ce9 100644 > --- a/generator/fish.ml > +++ b/generator/fish.ml > @@ -98,6 +98,10 @@ let generate_fish_cmds () = > pr "/* Valid suffixes allowed for numbers. See Gnulib xstrtol function. */\n"; > pr "static const char *xstrtol_suffixes = \"0kKMGTPEZY\&q...
2014 Nov 28
2
[PATCH] fish: show synopsis if command syntax is wrong
...const char *name; /* Short name. */ const char *help; /* Online help. */ + const char *synopsis; /* Synopsis. */ /* The run_* function. */ int (*run) (const char *cmd, size_t argc, char *argv[]); diff --git a/generator/fish.ml b/generator/fish.ml index 3f53ffa..951b376 100644 --- a/generator/fish.ml +++ b/generator/fish.ml @@ -190,6 +190,7 @@ Guestfish will prompt for these separately." pr "struct command_entry %s_cmd_entry = {\n" name; pr " .name = \"%s\",\n" name2; pr " .help = \"%s\&q...