Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-05-24 00:39:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-05-24 00:39:21 +0400
commita97904cbccffa8f138337c243e59ee8f9ffa8cba (patch)
tree1469d5d81225d0c7b2a3c95ac2afb23de93d1e41 /source/blender/blenlib/BLI_args.h
parent3251d9d523f94f47cc11c3ec52afa91207088842 (diff)
GNU style long arguments. see help menu.
- swapped meanting of -y/-Y to enable/disable automatic python execution (matches window border -w/-W). - removed '-B', no reason to have this. - renamed -fpe to --debug-fpe and added to --help
Diffstat (limited to 'source/blender/blenlib/BLI_args.h')
-rw-r--r--source/blender/blenlib/BLI_args.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_args.h b/source/blender/blenlib/BLI_args.h
index 61f83ccf6f9..5b0aa31e712 100644
--- a/source/blender/blenlib/BLI_args.h
+++ b/source/blender/blenlib/BLI_args.h
@@ -43,6 +43,8 @@ void BLI_argsFree(struct bArgs *ba);
/* pass starts at 1, -1 means valid all the time */
void BLI_argsAdd(struct bArgs *ba, char *arg, int pass, BA_ArgCallback cb, void *data);
+void BLI_argsAddPair(struct bArgs *ba, char *arg_short, char *arg_long, int pass, BA_ArgCallback cb, void *data);
+
void BLI_argsAddCase(struct bArgs *ba, char *arg, int pass, BA_ArgCallback cb, void *data); /* not case specific */
void BLI_argsParse(struct bArgs *ba, int pass, BA_ArgCallback default_cb, void *data);