summaryrefslogtreecommitdiffstats
path: root/libopkg/args.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-22 21:15:01 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-22 21:15:01 (EST)
commite7f6a9884fa0a2c327e6ef087c176cf2d157667b (patch)
tree0865af09806d1684216a241fd001825e4f574530 /libopkg/args.c
parent7e4ae80d87d886c7d23d9989aa7b5882b9315d50 (diff)
Add opkg config file option for tmp_dir.
Requested by Mike Westerhof for small memory systems where /tmp is a memory file system. Add, e.g. the following to your opkg config file: option tmp_dir /tmp/frob git-svn-id: http://opkg.googlecode.com/svn/trunk@348 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/args.c')
-rw-r--r--libopkg/args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/args.c b/libopkg/args.c
index 3f1e3ce..263078a 100644
--- a/libopkg/args.c
+++ b/libopkg/args.c
@@ -138,6 +138,7 @@ int args_parse(args_t *args, int argc, char *argv[])
{"offline-root-path", 1, 0, 'p'},
{"test", 0, 0, ARGS_OPT_NOACTION},
{"tmp-dir", 1, 0, 't'},
+ {"tmp_dir", 1, 0, 't'},
{"verbosity", 2, 0, 'V'},
{"version", 0, 0, 'v'},
{0, 0, 0, 0}