Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
pkg plugins -e -d or -c won't be implemented
Baptiste Daroussin committed 13 years ago
commit f19e27f87e895e6e972505bc62af45b594730703
parent df1d09e
1 file changed +2 -18
modified pkg/plugins.c
@@ -36,7 +36,7 @@
void
usage_plugins(void)
{
-
        fprintf(stderr, "usage: pkg plugins [-l] [-edc] <plugin>\n\n");
+
        fprintf(stderr, "usage: pkg plugins [-l] <plugin>\n\n");
        fprintf(stderr, "For more information see 'pkg help plugins'.\n");
}

@@ -48,24 +48,8 @@ exec_plugins(int argc, char **argv)
	int ch;
	bool list_only = true;

-
	while ((ch = getopt(argc, argv, "edlc:")) != -1) {
+
	while ((ch = getopt(argc, argv, "l")) != -1) {
                switch (ch) {
-
		case 'e':
-
			fprintf(stderr, "Enabling of plugins is currently not implemented");
-
			return (EX_OK);
-
			/* NOT REACHED */
-
			break;
-
		case 'd':
-
			fprintf(stderr, "Disabling of plugins is currently not implemented");
-
			return (EX_OK);
-
			/* NOT REACHED */
-
			break;
-
		case 'c':
-
			plugin_name = optarg;
-
			fprintf(stderr, "Configuring plugins is currently not implemented");
-
			return (EX_OK);
-
			/* NOT REACHED */
-
			break;
		case 'l':
			list_only = true;
			break;