search for: describe_alias

Displaying 7 results from an estimated 7 matches for "describe_alias".

2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
...st @@ -6684,8 +6684,8 @@ and generate_fish_cmds () = pr " pod2text (\"%s\", _(\"%s\"), %S);\n" name2 shortdesc ("=head1 SYNOPSIS\n\n " ^ synopsis ^ "\n\n" ^ - "=head1 DESCRIPTION\n\n" ^ - longdesc ^ warnings ^ describe_alias); + "=head1 DESCRIPTION\n\n" ^ + longdesc ^ warnings ^ describe_alias); pr " else\n" ) all_functions; pr " display_builtin_command (cmd);\n"; -- 1.6.5.3.433.g11067
2016 Sep 02
6
[PATCH 0/4] generator: Some work to split large C files
By splitting up large C files we can make parallel compiles a bit faster. Rich.
2010 Jun 01
1
[PATCH] fish: help command return error for non-existent commands (RHBZ#597145).
...\n"; + pr ") {\n"; pr " pod2text (\"%s\", _(\"%s\"), %S);\n" name2 shortdesc ("=head1 SYNOPSIS\n\n " ^ synopsis ^ "\n\n" ^ "=head1 DESCRIPTION\n\n" ^ longdesc ^ warnings ^ describe_alias); + pr " return 0;\n"; + pr " }\n"; pr " else\n" ) all_functions; - pr " display_builtin_command (cmd);\n"; + pr " return display_builtin_command (cmd);\n"; pr "}\n"; pr "\n"; -- 1.6.6.1
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
...." else "" in let pod = - sprintf "%s - %s\n\n=head1 SYNOPSIS\n\n %s\n\n=head1 DESCRIPTION\n\n%s%s%s" + sprintf "%s - %s\n\n=head1 SYNOPSIS\n\n%s\n\n=head1 DESCRIPTION\n\n%s%s%s" name2 shortdesc synopsis longdesc warnings describe_alias in let text = String.concat "\n" (pod2text ~trim:false ~discard:false "NAME" pod) @@ -190,6 +190,7 @@ Guestfish will prompt for these separately." pr "struct command_entry %s_cmd_entry = {\n" name; pr " .name = \"%s\",...
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...@@ let generate_fish_cmds () = fun ({ name = name; shortdesc = shortdesc; longdesc = longdesc } as f) -> let aliases = get_aliases f in - let name2 = replace_char name '_' '-' in + let name2 = String.replace_char name '_' '-' in let describe_alias = if aliases <> [] then sprintf "\n\nYou can use %s as an alias for this command." @@ -656,13 +657,13 @@ let generate_fish_cmds () = pr " list_builtin_commands ();\n"; List.iter ( fun (name, f) -> - let name = replace_char name '...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...- warnings ^ - match deprecation_notice flags with - | None -> "" - | Some txt -> "\n\n" ^ txt in + warnings ^ + match deprecation_notice flags with + | None -> "" + | Some txt -> "\n\n" ^ txt in let describe_alias = - if name <> alias then - sprintf "\n\nYou can use '%s' as an alias for this command." alias - else "" in + if name <> alias then + sprintf "\n\nYou can use '%s' as an alias for this command." alias + else "&q...
2012 Jul 14
6
[PATCH 0/6] Allow non-optargs functions to gain optional arguments.
This rather complex set of patches allow non-optargs functions to gain optional arguments, while preserving source and binary backwards compatibility. The problem is that we cannot add an optional argument to an existing function. For example, we might want to add flags to the 'lvresize' API which currently has no optional arguments.