diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 09:01:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-02 09:01:38 +0300 |
commit | c593b77910cb13cd68fa60ea4a0e7a190f1064aa (patch) | |
tree | 9bc981fa9cd2cf93b20b1e68fb219817db0f9bf2 /source/creator/creator_args.c | |
parent | d49985ce488f7d734ae727379e5bb4569a9dc700 (diff) |
Cleanup: style, and --help edits
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r-- | source/creator/creator_args.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index c70f275d540..0df5e935b5c 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -432,7 +432,7 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo printf("\t# blender --background test.blend --render-frame 1 --render-output '/tmp'\n"); printf("\t...will not render to '/tmp' because '--render-frame 1' renders before the output path is set\n"); printf("\t# blender --background --render-output /tmp test.blend --render-frame 1\n"); - printf("\t...will not render to '/tmp' because loading the blend file overwrites the render output that was set\n"); + printf("\t...will not render to '/tmp' because loading the blend-file overwrites the render output that was set\n"); printf("\t# blender --background test.blend --render-output /tmp --render-frame 1\n"); printf("\t...works as expected.\n\n"); @@ -849,7 +849,7 @@ static int arg_handle_audio_set(int argc, const char **argv, void *UNUSED(data)) static const char arg_handle_output_set_doc[] = "<path>\n" "\tSet the render path and file name.\n" -"\tUse '//' at the start of the path to render relative to the blend file.\n" +"\tUse '//' at the start of the path to render relative to the blend-file.\n" "\n" "\tThe '#' characters are replaced by the frame number, and used to define zero padding.\n" "\t* 'ani_##_test.png' becomes 'ani_01_test.png'\n" @@ -1540,7 +1540,7 @@ void main_args_setup(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle) //BLI_argsAdd(ba, pass, short_arg, long_arg, doc, cb, C); /* end argument processing after -- */ - BLI_argsAdd(ba, -1, "--", NULL, arg_handle_arguments_end_doc, arg_handle_arguments_end, NULL); + BLI_argsAdd(ba, -1, "--", NULL, CB(arg_handle_arguments_end), NULL); /* first pass: background mode, disable python and commands that exit after usage */ BLI_argsAdd(ba, 1, "-h", "--help", CB(arg_handle_print_help), ba); |