[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/param.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/param.c |
Date: |
Sun, 17 Apr 2005 18:40:03 -0400 |
Index: graveman/current/src/param.c
diff -u graveman/current/src/param.c:1.5 graveman/current/src/param.c:1.6
--- graveman/current/src/param.c:1.5 Thu Apr 14 21:56:32 2005
+++ graveman/current/src/param.c Sun Apr 17 22:39:53 2005
@@ -119,12 +119,18 @@
"\t-v\t\t%s\n"
"\t-V\t\t%s\n"
"\t-s\t\t%s\n"
- "\t-c <%s>\t%s\n\t%s\n\n %s\n\n",
+ "\t-c <%s>\t%s\n"
+ "\t-D <%s>\t%s\n"
+ "\t-t <%s>\t%s\n\t %s\n\n %s\n\n",
_("Usage:"), Aargv[0], _("[options]"), _("show version
number."),
- _("show compilation informations."), _("always scan devices on
startup"),
+ _("show compilation informations."), _("always scan devices on
startup."),
_("files..."),
- _("define preference-ordered set of configuration file to use
in priority."),
- _("\t\tconfiguration files should be seperated with a colon
':'."),
+ _("define preference-ordered set of extra configuration files
to use in priority."),
+ _("dir..."),
+ _("define preference-ordered set of extra data directories to
use in priority."),
+ _("themes..."),
+ _("define preference-ordered set of theme to use."),
+ _("\t\tconfiguration files, data directories and themes should
be separated with a colon ':'."),
_("Type \"man graveman\" to get more informations."));
return FALSE;
} else if (*ptr == 's') {
@@ -133,7 +139,13 @@
if (++i<=Aargc) {
param_store_value("config_file", Aargv[i-1]);
} else {
- g_warning("ignoring invalide -c parameter without file.\n");
+ g_warning(_("ignoring invalid %s parameter without file.\n"),
Aargv[i-2]);
+ }
+ } else if (*ptr == 'D' || (!strcmp(ptr, "data"))) {
+ if (++i<=Aargc) {
+ param_store_value("data_file", Aargv[i-1]);
+ } else {
+ g_warning(_("ignoring invalid %s parameter without file.\n"),
Aargv[i-2]);
}
}
}