summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-20 13:45:47 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-20 13:45:47 +0100
commit12cdf2d55775ee671968977d890f9a4d7ba95f1f (patch)
tree2989ffca116cf0117f65b2b3727af767047a20cb /src/core
parenta598e6f48d740619da60d59a10d7c3945f312563 (diff)
allow procedures to add stuff to usage output
Diffstat (limited to 'src/core')
-rw-r--r--src/core/procedures/automatic3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic
index cdda847..ad279ce 100644
--- a/src/core/procedures/automatic
+++ b/src/core/procedures/automatic
@@ -4,11 +4,14 @@
# In theory, the only manual thing should maybe be configuring the runtime network
# TODO: I don't know if you can do non-interactive dm_crypt stuff.. maybe by pulling luks keyfiles from svn/git/..?
+# TODO: check_is_in <somestuff> runtime packages and check needed args, if not known ask (eg svn password)
depend_module yaourt
depend_procedure core base
var_OPTS_STRING="c:"
+var_ARGS_USAGE="-c <config>: Specify a configfile (profile) to be used (Mandatory)" # TODO: don't check if the option is specified, but do checking on all variables that we need
+
process_args ()
{
[ "$1" = '-c' ]