From 7dfd383c9658d1a37bc56bfe1db59cb43ac4563b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Jan 2015 19:56:56 -0500 Subject: [PATCH] Drop the unused --name option for build-init It is not used at all. --- doc/xdg-app-build-init.xml | 9 --------- xdg-app-builtins-build-init.c | 2 -- 2 files changed, 11 deletions(-) diff --git a/doc/xdg-app-build-init.xml b/doc/xdg-app-build-init.xml index b9ba3134..c47fe819 100644 --- a/doc/xdg-app-build-init.xml +++ b/doc/xdg-app-build-init.xml @@ -84,15 +84,6 @@ - - - - - - The application name. - - - diff --git a/xdg-app-builtins-build-init.c b/xdg-app-builtins-build-init.c index 5d235b93..ab8adcfc 100644 --- a/xdg-app-builtins-build-init.c +++ b/xdg-app-builtins-build-init.c @@ -11,12 +11,10 @@ #include "xdg-app-utils.h" static char *opt_arch; -static char *opt_name; static char *opt_var; static GOptionEntry options[] = { { "arch", 0, 0, G_OPTION_ARG_STRING, &opt_arch, "Arch to use", "ARCH" }, - { "name", 'n', 0, G_OPTION_ARG_STRING, &opt_name, "App name", "NAME" }, { "var", 'v', 0, G_OPTION_ARG_STRING, &opt_var, "Initialize var from named runtime", "RUNTIME" }, { NULL } };