N_("[COMMAND]")
},
{ "version", N_("Print version"),
- N_("Print version information and exit")
+ N_("Print version information and exit"),
+ NULL
},
{ "list-apps", N_("List applications"),
- N_("List the installed D-Bus activatable applications (by .desktop files)")
+ N_("List the installed D-Bus activatable applications (by .desktop files)"),
+ NULL
},
{ "launch", N_("Launch an application"),
N_("Launch the application (with optional files to open)"),
if (command)
{
- gint i;
+ gsize i;
for (i = 0; i < G_N_ELEMENTS (topics); i++)
if (g_str_equal (topics[i].command, command))
if (topic)
{
- gint maxwidth;
- gint i;
+ guint maxwidth;
+ gsize i;
g_string_append_printf (string, "\n %s %s %s\n\n", "gapplication",
topic->command, topic->synopsis ? _(topic->synopsis) : "");
}
else
{
- gint maxwidth;
- gint i;
+ guint maxwidth;
+ gsize i;
g_string_append_printf (string, "\n %s %s %s\n\n", "gapplication", _("COMMAND"), _("[ARGSā¦]"));
g_string_append_printf (string, _("Commands:\n"));